| 
15 | 15 | import tempfile  | 
16 | 16 | from pathlib import Path  | 
17 | 17 | 
 
  | 
18 |  | -from setuptools import Extension, find_packages, setup  | 
 | 18 | +from setuptools import Extension, setup  | 
19 | 19 | from setuptools.command.build_ext import build_ext  | 
20 | 20 | 
 
  | 
21 |  | -import versioningit  | 
22 |  | - | 
23 | 21 | ISA_L_SOURCE = os.path.join("src", "isal", "isa-l")  | 
24 | 22 | 
 
  | 
25 | 23 | SYSTEM_IS_BSD = (sys.platform.startswith("freebsd") or  | 
@@ -138,46 +136,6 @@ def build_isa_l():  | 
138 | 136 | 
 
  | 
139 | 137 | 
 
  | 
140 | 138 | setup(  | 
141 |  | -    name="isal",  | 
142 |  | -    version=versioningit.get_version(),  | 
143 |  | -    description="Faster zlib and gzip compatible compression and "  | 
144 |  | -                "decompression by providing python bindings for the ISA-L "  | 
145 |  | -                "library.",  | 
146 |  | -    author="Leiden University Medical Center",  | 
147 |  | -    author_email="[email protected]",   # A placeholder for now  | 
148 |  | -    long_description=Path("README.rst").read_text(),  | 
149 |  | -    long_description_content_type="text/x-rst",  | 
150 | 139 |     cmdclass={"build_ext": BuildIsalExt},  | 
151 |  | -    license="PSF-2.0",  | 
152 |  | -    keywords="isal isa-l compression deflate gzip igzip threads",  | 
153 |  | -    zip_safe=False,  | 
154 |  | -    packages=find_packages('src'),  | 
155 |  | -    package_dir={'': 'src'},  | 
156 |  | -    package_data={'isal': ['*.pyi', 'py.typed',  | 
157 |  | -                           # Include isa-l LICENSE and other relevant files  | 
158 |  | -                           # with the binary distribution.  | 
159 |  | -                           'isa-l/LICENSE', 'isa-l/README.md',  | 
160 |  | -                           'isa-l/Release_notes.txt']},  | 
161 |  | -    url="https://github.com/pycompression/python-isal",  | 
162 |  | -    classifiers=[  | 
163 |  | -        "Programming Language :: Python :: 3 :: Only",  | 
164 |  | -        "Programming Language :: Python :: 3",  | 
165 |  | -        "Programming Language :: Python :: 3.8",  | 
166 |  | -        "Programming Language :: Python :: 3.9",  | 
167 |  | -        "Programming Language :: Python :: 3.10",  | 
168 |  | -        "Programming Language :: Python :: 3.11",  | 
169 |  | -        "Programming Language :: Python :: 3.12",  | 
170 |  | -        "Programming Language :: Python :: 3.13",  | 
171 |  | -        "Programming Language :: Python :: Implementation :: CPython",  | 
172 |  | -        "Programming Language :: Python :: Implementation :: PyPy",  | 
173 |  | -        "Programming Language :: C",  | 
174 |  | -        "Development Status :: 5 - Production/Stable",  | 
175 |  | -        "Topic :: System :: Archiving :: Compression",  | 
176 |  | -        "License :: OSI Approved :: Python Software Foundation License",  | 
177 |  | -        "Operating System :: POSIX :: Linux",  | 
178 |  | -        "Operating System :: MacOS",  | 
179 |  | -        "Operating System :: Microsoft :: Windows",  | 
180 |  | -    ],  | 
181 |  | -    python_requires=">=3.8",  # BadGzipFile imported  | 
182 | 140 |     ext_modules=EXTENSIONS  | 
183 | 141 | )  | 
0 commit comments