wrong paths
parent
46d25be2aa
commit
1277e6b148
6
setup.py
6
setup.py
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue