mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Add injections extension to setup script
This commit is contained in:
parent
7559959f35
commit
b413826299
16
setup.py
16
setup.py
|
@ -2,7 +2,7 @@
|
|||
|
||||
import re
|
||||
|
||||
from setuptools import setup
|
||||
from setuptools import setup, Extension
|
||||
|
||||
|
||||
# Getting description:
|
||||
|
@ -30,12 +30,20 @@ setup(name='dependency-injector',
|
|||
bugtrack_url='https://github.com/ets-labs/python-dependency-injector' +
|
||||
'/issues',
|
||||
download_url='https://pypi.python.org/pypi/dependency_injector',
|
||||
license='BSD New',
|
||||
install_requires=requirements,
|
||||
packages=['dependency_injector',
|
||||
'dependency_injector.providers'],
|
||||
platforms=['any'],
|
||||
ext_modules=[
|
||||
Extension('dependency_injector.injections',
|
||||
['dependency_injector/injections.c'],
|
||||
extra_compile_args=['-O2']),
|
||||
],
|
||||
package_data={
|
||||
'dependency_injector': ['*.pxd']
|
||||
},
|
||||
zip_safe=True,
|
||||
install_requires=requirements,
|
||||
license='BSD New',
|
||||
platforms=['any'],
|
||||
keywords=[
|
||||
'DI',
|
||||
'Dependency injection',
|
||||
|
|
Loading…
Reference in New Issue
Block a user