Browse Source

prevent the use of chdir

pull/231/head
Oliverpool 8 years ago
parent
commit
43178d5bbf
  1. 7
      setup.py

7
setup.py

@ -28,10 +28,9 @@ if sys.platform[0:3] == 'win':
if not os.path.isdir(root_directory):
return
with chdir(root_directory):
for root, __ignored, filenames in os.walk(os.curdir):
for filename in filenames:
yield os.path.join(root, filename)
for root, __ignored, filenames in os.walk(root_directory):
for filename in filenames:
yield os.path.join(root, filename)
# List the data files
data_files = recursive_find(__DATADIR__)

Loading…
Cancel
Save