Fix setup.py

This commit is contained in:
Roman Mogylatov 2020-06-24 21:01:33 -04:00
parent 1a23b8b6f5
commit 0dad8727cf

View File

@ -39,15 +39,15 @@ setup(name='dependency-injector',
maintainer_email='rmogilatov@gmail.com', maintainer_email='rmogilatov@gmail.com',
url='https://github.com/ets-labs/python-dependency-injector', url='https://github.com/ets-labs/python-dependency-injector',
download_url='https://pypi.python.org/pypi/dependency_injector', download_url='https://pypi.python.org/pypi/dependency_injector',
install_requires=requirements, packages=[
# extras_require={ 'dependency_injector',
# 'yaml': [ ],
# 'pyyaml',
# ],
# },
package_dir={ package_dir={
'': 'src', '': 'src',
}, },
package_data={
'dependency_injector': ['*.pxd'],
},
ext_modules=[ ext_modules=[
Extension('dependency_injector.containers', Extension('dependency_injector.containers',
['src/dependency_injector/containers.c'], ['src/dependency_injector/containers.c'],
@ -58,8 +58,11 @@ setup(name='dependency-injector',
define_macros=list(defined_macros.items()), define_macros=list(defined_macros.items()),
extra_compile_args=['-O2']), extra_compile_args=['-O2']),
], ],
package_data={ install_requires=requirements,
'dependency_injector': ['*.pxd'], extras_require={
'yaml': [
'pyyaml',
],
}, },
zip_safe=True, zip_safe=True,
license='BSD New', license='BSD New',