Skip to content

Commit 8c24c6a

Browse files
Move setup.py functionality to pyproject.toml
1 parent d7b5061 commit 8c24c6a

File tree

2 files changed

+44
-52
lines changed

2 files changed

+44
-52
lines changed

pyproject.toml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,52 @@
11
[build-system]
22
requires = [
3-
"setuptools",
3+
"setuptools>=45",
4+
"setuptools_scm>=6.2",
45
"wheel"
56
]
67
build-backend = "setuptools.build_meta"
8+
[project]
9+
name="causal_testing_framework"
10+
authors=[{name = "The CITCOM team"}]
11+
description="A framework for causal testing using causal directed acyclic graphs."
12+
readme = "README.md"
13+
requires-python = ">=3.9"
14+
license = {text = "MIT"}
15+
keywords = ["causal inference", "verification"]
16+
dependencies = [
17+
"econml~=0.12.0",
18+
"fitter~=1.4.0",
19+
"lhsmdu~=1.1",
20+
"networkx~=2.6.3",
21+
"numpy~=1.22.4",
22+
"pandas~=1.3.5",
23+
"scikit_learn~=1.1.2",
24+
"scipy~=1.7.3",
25+
"statsmodels~=0.13.2",
26+
"tabulate~=0.8.10",
27+
"z3_solver~=4.11.2",
28+
]
29+
dynamic = ["version"]
30+
31+
[project.optional-dependencies]
32+
dev = [
33+
"autopep8",
34+
"isort",
35+
"pytest",
36+
"pylint",
37+
"black",
38+
"autoapi",
39+
"myst-parser",
40+
"sphinx-autoapi",
41+
"sphinx_rtd_theme",
42+
]
43+
44+
[project.urls]
45+
Bug_Tracker = "https://github.com/CITCOM-project/CausalTestingFramework/issues"
46+
Documentation = "https://causal-testing-framework.readthedocs.io/"
47+
Source = "https://github.com/CITCOM-project/CausalTestingFramework"
48+
49+
[tool.setuptools_scm]
750

851
[tool.black]
952
# https://github.com/psf/black

setup.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)