|
13 | 13 | import tempfile |
14 | 14 | from pathlib import Path |
15 | 15 |
|
16 | | -from setuptools import Extension, find_packages, setup |
| 16 | +from setuptools import Extension, setup |
17 | 17 | from setuptools.command.build_ext import build_ext |
18 | 18 |
|
19 | | -import versioningit |
20 | | - |
21 | 19 | ZLIB_NG_SOURCE = os.path.join("src", "zlib_ng", "zlib-ng") |
22 | 20 |
|
23 | 21 | SYSTEM_IS_UNIX = (sys.platform.startswith("linux") or |
@@ -125,43 +123,6 @@ def build_zlib_ng(): |
125 | 123 |
|
126 | 124 |
|
127 | 125 | setup( |
128 | | - name="zlib-ng", |
129 | | - version=versioningit.get_version(), |
130 | | - description="Drop-in replacement for zlib and gzip modules using zlib-ng", |
131 | | - author="Leiden University Medical Center", |
132 | | - author_email="[email protected]", # A placeholder for now |
133 | | - long_description=Path("README.rst").read_text(), |
134 | | - long_description_content_type="text/x-rst", |
135 | 126 | cmdclass={"build_ext": BuildZlibNGExt}, |
136 | | - license="PSF-2.0", |
137 | | - keywords="zlib-ng zlib compression deflate gzip", |
138 | | - zip_safe=False, |
139 | | - packages=find_packages('src'), |
140 | | - package_dir={'': 'src'}, |
141 | | - package_data={'zlib_ng': [ |
142 | | - '*.pyi', 'py.typed', |
143 | | - # Include zlib-ng LICENSE and other relevant files with the binary distribution. |
144 | | - 'zlib-ng/LICENSE.md', 'zlib-ng/README.md']}, |
145 | | - url="https://github.com/pycompression/python-zlib-ng", |
146 | | - classifiers=[ |
147 | | - "Programming Language :: Python :: 3 :: Only", |
148 | | - "Programming Language :: Python :: 3", |
149 | | - "Programming Language :: Python :: 3.8", |
150 | | - "Programming Language :: Python :: 3.9", |
151 | | - "Programming Language :: Python :: 3.10", |
152 | | - "Programming Language :: Python :: 3.11", |
153 | | - "Programming Language :: Python :: 3.12", |
154 | | - "Programming Language :: Python :: 3.13", |
155 | | - "Programming Language :: Python :: Implementation :: CPython", |
156 | | - "Programming Language :: Python :: Implementation :: PyPy", |
157 | | - "Programming Language :: C", |
158 | | - "Development Status :: 4 - Beta", |
159 | | - "Topic :: System :: Archiving :: Compression", |
160 | | - "License :: OSI Approved :: Python Software Foundation License", |
161 | | - "Operating System :: POSIX :: Linux", |
162 | | - "Operating System :: MacOS", |
163 | | - "Operating System :: Microsoft :: Windows", |
164 | | - ], |
165 | | - python_requires=">=3.8", # Earliest version still tested. |
166 | 127 | ext_modules=EXTENSIONS |
167 | 128 | ) |
0 commit comments