forked from pycompression/xopen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (34 loc) · 1.34 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
from setuptools import setup, find_packages
with open('README.rst') as f:
long_description = f.read()
setup(
name='xopen',
use_scm_version={'write_to': 'src/xopen/_version.py'},
setup_requires=['setuptools_scm'], # Support pip versions that don't know about pyproject.toml
author='Marcel Martin et al.',
author_email='[email protected]',
url='https://github.com/pycompression/xopen/',
description='Open compressed files transparently',
long_description=long_description,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
package_data={"xopen": ["py.typed"]},
extras_require={
'dev': ['pytest'],
# Install isa-l on 64 bit platforms. Python-isal wheels are provided for:
# x86_64: Linux and MacOS x86_64 platforms
# AMD64: Windows x86_64 platforms.
# aarch64: Linux ARM 64-bit platforms.
# Wheels are not provided for 'arm64'. The MacOS 64 bit platforms.
':platform.machine == "x86_64"': ['isal>=0.9.0'],
':platform.machine == "AMD64"': ['isal>=0.9.0'],
':platform.machine == "aarch64"': ['isal>=0.9.0'],
},
python_requires='>=3.6',
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
)