-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
66 lines (55 loc) · 1.78 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
66
"""
Instructions for building the package.
$ python -m build
$ twine check dist/*
$ twine upload dist/gumbi-$(cat VERSION)*
"""
import pathlib as pl
from setuptools import find_packages, setup
DISTNAME = "gumbi"
DESCRIPTION = "Gaussian Process Model Building Interface"
AUTHOR = "John Goertz"
AUTHOR_EMAIL = ""
URL = "https://github.com/JohnGoertz/Gumbi"
LICENSE = "Apache 2.0"
PROJECT_ROOT = pl.Path(__file__).resolve().parent
REQUIREMENTS = PROJECT_ROOT / "requirements.txt"
README = PROJECT_ROOT / "README.md"
VERSION = PROJECT_ROOT / "VERSION"
with open(REQUIREMENTS) as f:
install_reqs = f.read().splitlines()
with open(README, "r") as fh:
long_description = fh.read()
with open(VERSION, encoding="utf-8") as f:
version = f.read().strip()
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
setup(
name=DISTNAME,
version=version,
author="John Goertz",
author_email="",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
url=URL,
license=LICENSE,
python_requires=">=3.9",
packages=find_packages(),
include_package_data=True,
install_requires=install_reqs,
classifiers=classifiers,
# keywords=['python'],
)