forked from aesara-devs/aemcmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (60 loc) · 2.08 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
67
68
69
70
#!/usr/bin/env python
import os
from os.path import exists
from setuptools import setup
import versioneer
NAME = "aemcmc"
# Handle builds of nightly release
if "BUILD_AEMCMC_NIGHTLY" in os.environ:
nightly = True
NAME += "-nightly"
from versioneer import get_versions as original_get_versions
def get_versions():
from datetime import datetime, timezone
suffix = datetime.now(timezone.utc).strftime(r".dev%Y%m%d")
versions = original_get_versions()
versions["version"] = versions["version"].split("+")[0] + suffix
return versions
versioneer.get_versions = get_versions
setup(
name=NAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Miscellaneous MCMC samplers written in Aesara",
url="http://github.com/aesara-devs/aemcmc",
author="aesara-devs",
author_email="[email protected]",
packages=["aemcmc"],
install_requires=[
"numpy>=1.18.1",
"scipy>=1.4.0",
"aesara>=2.8.11",
"aeppl>=0.1.2",
"aehmc>=0.0.10",
"polyagamma>=1.3.2",
"cons",
"logical-unification",
"etuples",
"miniKanren",
],
tests_require=["pytest"],
long_description=open("README.rst").read() if exists("README.rst") else "",
long_description_content_type="text/x-rst",
zip_safe=False,
python_requires=">=3.8",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords=["math", "probability", "numerical", "symbolic", "MCMC"],
)