|
3 | 3 | import setuptools
|
4 | 4 |
|
5 | 5 |
|
6 |
| -# Minimal dependencies required to test immutables. |
7 |
| -TEST_DEPENDENCIES = [ |
8 |
| - # pycodestyle is a dependency of flake8, but it must be frozen because |
9 |
| - # their combination breaks too often |
10 |
| - # (example breakage: https://gitlab.com/pycqa/flake8/issues/427) |
11 |
| - 'flake8~=5.0', |
12 |
| - 'pycodestyle~=2.9', |
13 |
| - 'mypy~=1.4', |
14 |
| - 'pytest~=7.4', |
15 |
| -] |
16 |
| - |
17 |
| -EXTRA_DEPENDENCIES = { |
18 |
| - 'test': TEST_DEPENDENCIES, |
19 |
| -} |
20 |
| - |
21 | 6 | system = platform.uname().system
|
22 | 7 | CFLAGS = ['-O2']
|
23 | 8 |
|
|
62 | 47 | ext_modules = []
|
63 | 48 |
|
64 | 49 |
|
65 |
| -with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: |
66 |
| - readme = f.read() |
67 |
| - |
68 |
| - |
69 | 50 | setuptools.setup(
|
70 |
| - name='immutables', |
71 | 51 | version=VERSION,
|
72 |
| - description='Immutable Collections', |
73 |
| - long_description=readme, |
74 |
| - python_requires='>=3.7', |
75 |
| - classifiers=[ |
76 |
| - 'License :: OSI Approved :: Apache Software License', |
77 |
| - 'Intended Audience :: Developers', |
78 |
| - 'Programming Language :: Python :: 3 :: Only', |
79 |
| - 'Programming Language :: Python :: 3.8', |
80 |
| - 'Programming Language :: Python :: 3.9', |
81 |
| - 'Programming Language :: Python :: 3.10', |
82 |
| - 'Programming Language :: Python :: 3.11', |
83 |
| - 'Programming Language :: Python :: 3.12', |
84 |
| - 'Operating System :: POSIX', |
85 |
| - 'Operating System :: MacOS :: MacOS X', |
86 |
| - 'Operating System :: Microsoft :: Windows', |
87 |
| - ], |
88 |
| - author='MagicStack Inc', |
89 |
| - |
90 |
| - url='https://github.com/MagicStack/immutables', |
91 |
| - license='Apache License, Version 2.0', |
92 |
| - packages=['immutables'], |
93 |
| - package_data={"immutables": ["py.typed", "*.pyi"]}, |
94 |
| - provides=['immutables'], |
95 |
| - include_package_data=True, |
96 | 52 | ext_modules=ext_modules,
|
97 |
| - install_requires=['typing-extensions>=3.7.4.3;python_version<"3.8"'], |
98 |
| - extras_require=EXTRA_DEPENDENCIES, |
99 | 53 | )
|
0 commit comments