-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
38 lines (32 loc) · 1.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
from os.path import realpath, dirname, join as path_join
from setuptools import setup, find_packages
NAME = "pysgmcmc"
DESCRIPTION = "PySGMCMC"
LONG_DESCRIPTION = "PYSGMCMC is a Python framework for Bayesian Deep Learning which focuses on Stochastic Gradient Markov Chain Monte Carlo methods."
MAINTAINER = "Moritz Freidank"
MAINTAINER_EMAIL = "freidankm@googlemail.com"
URL = "https://github.com/MFreidank/pysgmcmc"
# license = ??
VERSION = "0.0.1"
PROJECT_ROOT = dirname(realpath(__file__))
REQUIREMENTS_FILE = path_join(PROJECT_ROOT, "requirements.txt")
with open(REQUIREMENTS_FILE, "r") as f:
INSTALL_REQUIREMENTS = f.read().splitlines()
SETUP_REQUIREMENTS = ["pytest-runner"]
TEST_REQUIREMENTS = ["pytest", "pytest-cov", "hypothesis"]
if __name__ == "__main__":
setup(
name=NAME,
version=VERSION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
url=URL,
long_description=LONG_DESCRIPTION,
packages=find_packages(),
package_data={"docs": ["*"]},
include_package_data=True,
install_requires=INSTALL_REQUIREMENTS,
setup_requires=SETUP_REQUIREMENTS,
tests_require=TEST_REQUIREMENTS,
)