Browse Source

data must be relative to patacrep install

pull/231/head
Oliverpool 9 years ago
parent
commit
8fd4fbabfc
  1. 5
      setup.py

5
setup.py

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

Loading…
Cancel
Save