wrong paths

master
inpos 2018-08-17 22:13:39 +03:00
parent 46d25be2aa
commit 1277e6b148
1 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ def package_files(directory):
return paths
# setuptools
extra_files = package_files('examples')
extra_files.extend(package_files(os.path.join('orun', 'extjs', 'static')))
extra_files.append(os.path.join('orun', 'extjs', 'app.html'))
extra_files.extend(package_files(os.path.join('extjs', 'static')))
extra_files.append(os.path.join('extjs', 'app.html'))
# distutils
d_files = package_files(os.path.join('orun', 'examples'))
d_files.extend(package_files(os.path.join('orun', 'extjs', 'static')))
@ -23,7 +23,7 @@ setuptools.setup(
author_email='alexandre@katrid.com',
packages=setuptools.find_packages(),
package_data={'': extra_files},
data_files=[('',[ os.path.join('orun', x) for x in extra_files ])],
data_files=[('',d_files)],
include_package_data=True,
url='http://pypi.python.org/pypi/Orun/',
license='LICENSE',