-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
65 lines (57 loc) · 2.21 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python
"""The setup script."""
import os
from setuptools import find_namespace_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, "README.rst")).read()
CHANGES = open(os.path.join(here, "CHANGELOG.rst")).read()
REQUIRES_PYTHON = ">=3.9"
about = {}
with open(os.path.join(here, "finch", "__version__.py")) as f:
exec(f.read(), about)
reqs = [line.strip() for line in open("requirements.txt")]
dev_reqs = [line.strip() for line in open("requirements_dev.txt")]
docs_reqs = [line.strip() for line in open("requirements_docs.txt")]
prod_reqs = [line.strip() for line in open("requirements_prod.txt")]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
# "Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]
setup(
name="birdhouse-finch",
version=about["__version__"],
description="A Web Processing Service for Climate Indicators.",
long_description=README + "\n\n" + CHANGES,
long_description_content_type="text/x-rst",
author=about["__author__"],
author_email=about["__email__"],
url="https://github.com/bird-house/finch",
python_requires=REQUIRES_PYTHON,
classifiers=classifiers,
license="Apache Software License 2.0",
license_files=["LICENSE"],
keywords="wps pywps birdhouse finch",
packages=find_namespace_packages(".", include=["finch*"]),
include_package_data=True,
package_data={"finch": ["*.yml"]},
install_requires=reqs,
test_suite="tests",
extras_require={
"dev": dev_reqs, # pip install ".[dev]"
"docs": docs_reqs, # pip install ".[docs]"
"prod": prod_reqs, # pip install ".[prod]"
},
entry_points={"console_scripts": ["finch=finch.cli:cli"]},
zip_safe=False,
)