-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
65 lines (55 loc) · 1.98 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
import os
from os.path import exists
from setuptools import setup
import versioneer
NAME = "aeppl"
# Handle builds of nightly release
if "BUILD_AEPPL_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,
author="aesara-devs",
author_email="aesara.devs@gmail.com",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="PPL tools for Aesara",
url="https://github.com/aesara-devs/aeppl",
packages=["aeppl"],
install_requires=[
"numpy>=1.18.1",
"scipy>=1.4.0",
"aesara>=2.8.13",
"typing_extensions",
],
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 :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords=["aeppl", "math", "probability", "symbolic", "probabilistic programming"],
)