-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (46 loc) · 1.74 KB
/
setup.py
File metadata and controls
49 lines (46 loc) · 1.74 KB
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
#!/usr/bin/env python
#
# Author: Adrien CR Thob
# Copyright (C) 2022 Adrien CR Thob
#
# This file is part of the py-ananke project,
# <https://github.com/athob/py-ananke>, which is licensed
# under the GNU Affero General Public License v3.0 (AGPL-3.0).
#
# The full copyright notice, including terms governing use, modification,
# and redistribution, is contained in the files LICENSE and COPYRIGHT,
# which can be found at the root of the source code distribution tree:
# - LICENSE <https://github.com/athob/py-ananke/blob/main/LICENSE>
# - COPYRIGHT <https://github.com/athob/py-ananke/blob/main/COPYRIGHT>
#
import sys, pathlib; sys.path.insert(0, str(pathlib.Path(__file__).parent))
import setuptools
from setuptools import setup
from src._build_utils import *
from src._constants import NAME, SRC_DIR
from src.__metadata__ import *
with open("README.md") as readme:
long_description = readme.read()
setup(name=NAME,
version=__version__,
author=__author__,
author_email=__email__,
maintainer=__maintainer__,
maintainer_email=__email__,
url=__url__,
description=f"{__project__}: {__description__}",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=__classifiers__,
license=__license__,
copyright=__copyright__,
python_requires='>=3.8',
packages=setuptools.find_namespace_packages(
SRC_DIR, exclude=['tests']),
package_dir={'': SRC_DIR},
package_data=make_package_data(),
include_package_data=True,
install_requires=append_install_requires_with_submodules(
["numpy>=1.22,<3", "scipy>=1.7.2,<2", "pandas>=2,<3", "docstring_parser>=0.16,<0.18", "pyvo>=1.6,<2"]),
cmdclass=make_cmdclass(),
)