-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
31 lines (27 loc) · 944 Bytes
/
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
from pathlib import Path
from setuptools import setup
from os import environ
cwd = Path(".")
README = (cwd / "README.md").read_text()
dependencies = (cwd / "requirements.txt").read_text().strip().split("\n")
# This should be set by the automated Github workflow
VERSION = environ["SEMANTIC_VERSION"] if "SEMANTIC_VERSION" in environ else "0.0.1"
setup(
name="do-calculus",
version=VERSION,
description="A Python implementation of the do-calculus of Judea Pearl et. al.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/bradendubois/do-calculus",
author="Braden Dubois",
author_email="braden.dubois@usask.ca",
packages=["do"],
keywords="do-calculus causation statistics pearl python",
include_package_data=True,
install_requires=dependencies,
entry_points={
"console_scripts": [
"do=do.__main__:main",
]
},
)