-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (35 loc) · 1.14 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import pathlib
from setuptools import find_packages
from setuptools import setup
try:
from Cython.Build import cythonize
ext_modules = cythonize('strongtyping_modules/strongtyping_modules.pyx',
compiler_directives={'language_level': 3,
'embedsignature': True})
except (ImportError, NameError):
ext_modules = None
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setup(name='strongtyping_modules',
version='14.01.2022',
description='Utils for strongtyping.',
author='Felix Eisenmenger',
author_email='fberndt87@gmail.com',
long_description=README,
long_description_content_type="text/markdown",
ext_modules=ext_modules,
zip_safe=False,
packages=find_packages(),
package_data={
'': ('*.pyx', '*.c'),
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
],
install_requires=[
'Cython==0.29.21'
]
)