forked from ika-rwth-aachen/omega_format
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (48 loc) · 1.38 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
42
43
44
45
46
47
48
49
50
51
import setuptools
import sys
import versioneer
install_requires = [
'numpy',
'h5py',
'tqdm',
'typer',
'xarray',
'pydantic<2',
'parse',
'shapely'
]
extras_require = {
'visualization': ['pyqtgraph', 'pyqt5'],
'doc': ['pdoc3'],
'test': ['pytest']
}
extras_require["complete"] = sorted({v for req in extras_require.values() for v in req})
with open("README.md", "r", encoding="utf8", errors='ignore') as f:
long_description = f.read()
setuptools.setup(
name='omega_format',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="ika - RWTH Aachen",
author_email="michael.schuldes@ika.rwth-aachen.de",
description="OMEGA Format Library (read/write/visualize)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ika-rwth-aachen/omega_format",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: None",
"Operating System :: OS Independent",
],
python_requires='>=3.9',
entry_points={
'console_scripts': [
'omega_format = omega_format.cli:app',
],
},
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
zip_safe=False
)