-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (34 loc) · 1.2 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
import os
__package_name__ = "despace"
__author__ = "Ruibin Liu"
from setuptools import find_packages, setup # type: ignore
if os.path.exists("README.md"):
long_description = open("README.md").read()
else:
long_description = (
"Despace - A python package to sort or index N-dimensional coordinates."
)
with open("requirements.txt") as f:
REQUIREMENTS = f.read().strip().split("\n")
ver = {} # type: ignore
with open("despace/version.py", "r") as vf:
exec(vf.read(), ver)
setup(
name=__package_name__,
version=ver["__version__"],
author=__author__,
author_email="[email protected]",
description="A spatial decomposition tool for sorting or indexing N-D data.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Ruibin-Liu/despace",
project_urls={"Bug Tracker": "https://github.com/Ruibin-Liu/despace/issues"},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
],
packages=find_packages(),
install_requires=REQUIREMENTS,
python_requires=">=3.8",
)