fixing setuptools HELL
parent
9ac74de44f
commit
fa3253e1ca
|
@ -0,0 +1,3 @@
|
||||||
|
include orun/extjs/app.html
|
||||||
|
recursive-include orun/examples *
|
||||||
|
recursive-include orun/extjs/static *
|
14
setup.py
14
setup.py
|
@ -1,24 +1,10 @@
|
||||||
import setuptools
|
import setuptools
|
||||||
import os
|
|
||||||
|
|
||||||
def package_files(directory):
|
|
||||||
paths = []
|
|
||||||
for (path, _, filenames) in os.walk('orun/' + directory):
|
|
||||||
for filename in filenames:
|
|
||||||
paths.append(os.path.join(path, filename))
|
|
||||||
return paths
|
|
||||||
|
|
||||||
extra_files = package_files('examples')
|
|
||||||
extra_files.extend(package_files(os.path.join('extjs', 'static')))
|
|
||||||
extra_files.append(os.path.join('extjs', 'app.html'))
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='Orun',
|
name='Orun',
|
||||||
version='0.4.0',
|
version='0.4.0',
|
||||||
author='Alexandre L. Dias, Roman Borodin (inpos@yandex.ru)',
|
author='Alexandre L. Dias, Roman Borodin (inpos@yandex.ru)',
|
||||||
author_email='alexandre@katrid.com',
|
author_email='alexandre@katrid.com',
|
||||||
packages=setuptools.find_packages(),
|
|
||||||
package_data={'': extra_files},
|
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
url='http://pypi.python.org/pypi/Orun/',
|
url='http://pypi.python.org/pypi/Orun/',
|
||||||
|
|
Loading…
Reference in New Issue