|
| 1 | +[build-system] |
| 2 | +# Minimum requirements for the build system to execute. |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | +requires = ["setuptools", "wheel"] # PEP 508 specifications. |
| 5 | + |
| 6 | +# This is configuration specific to the `setuptools` build backend. |
| 7 | +# If you are using a different build backend, you will need to change this. |
| 8 | +[tool.setuptools] |
| 9 | +# define all packages here |
| 10 | +py-modules = ['causalpy', 'causalpy.data'] |
| 11 | + |
| 12 | +[project] |
| 13 | +name = "CausalPy" |
| 14 | +version = "0.0.9" |
| 15 | +description = "Causal inference for quasi-experiments in Python" |
| 16 | +readme = "README.md" |
| 17 | +license = {file = "LICENSE"} |
| 18 | +authors = [{ name = "Ben Vincent", email = "[email protected]" }] |
| 19 | +requires-python = ">=3.8" |
| 20 | + |
| 21 | +# This field lists other packages that your project depends on to run. |
| 22 | +# Any package you put here will be installed by pip when your project is |
| 23 | +# installed, so they must be valid existing projects. |
| 24 | +# |
| 25 | +# For an analysis of this field vs pip's requirements files see: |
| 26 | +# https://packaging.python.org/discussions/install-requires-vs-requirements/ |
| 27 | +dependencies = [ |
| 28 | + "arviz>=0.14.0", |
| 29 | + "graphviz", |
| 30 | + "ipython!=8.7.0", |
| 31 | + "matplotlib>=3.5.3", |
| 32 | + "numpy", |
| 33 | + "pandas", |
| 34 | + "patsy", |
| 35 | + "pymc>=4.0.0", |
| 36 | + "scikit-learn>=1", |
| 37 | + "scipy", |
| 38 | + "seaborn>=0.11.2", |
| 39 | + "xarray>=v2022.11.0", |
| 40 | +] |
| 41 | + |
| 42 | +# List additional groups of dependencies here (e.g. development dependencies). Users |
| 43 | +# will be able to install these using the "extras" syntax, for example: |
| 44 | +# |
| 45 | +# $ pip install sampleproject[dev] |
| 46 | +# |
| 47 | +# Similar to `dependencies` above, these must be valid existing projects. |
| 48 | +[project.optional-dependencies] |
| 49 | +dev = [ |
| 50 | + "pathlib", |
| 51 | + "pre-commit", |
| 52 | + "twine", |
| 53 | + "interrogate", |
| 54 | + ] |
| 55 | +docs = ["ipykernel", |
| 56 | + "linkify-it-py", |
| 57 | + "myst_parser", |
| 58 | + "nbsphinx", |
| 59 | + "pathlib", |
| 60 | + "sphinx", |
| 61 | + "sphinx-autodoc-typehints", |
| 62 | + "sphinx-design", |
| 63 | + "sphinx-rtd-theme", |
| 64 | + "statsmodels", |
| 65 | + ] |
| 66 | +lint = ["black>=22.3.0", |
| 67 | + "flake8>=4.0.1", |
| 68 | + "interrogate>=1.5.0", |
| 69 | + "isort>=5.10.1", |
| 70 | + "nbqa>=1.5.3", |
| 71 | + "pre-commit>=2.19." |
| 72 | + ] |
| 73 | +test = [ |
| 74 | + "pytest", |
| 75 | + "pytest-cov", |
| 76 | + ] |
| 77 | + |
| 78 | +[metadata] |
| 79 | +description-file = 'README.md' |
| 80 | +license_files = 'LICENSE' |
| 81 | + |
| 82 | +[project.urls] |
| 83 | +Homepage = "https://github.com/pymc-labs/CausalPy" |
| 84 | +"Bug Reports" = "https://github.com/pymc-labs/CausalPy/issues" |
| 85 | +"Source" = "https://github.com/pymc-labs/CausalPy" |
| 86 | + |
| 87 | +[tool.black] |
| 88 | +line_length = 88 |
| 89 | + |
1 | 90 | [tool.isort]
|
2 | 91 | profile = "black"
|
3 | 92 | skip_gitignore = true
|
4 |
| -# known_third_party = arviz,matplotlib,numpy,pandas,patsy,pymc,pytest,scipy,seaborn,setuptools,sklearn,statsmodels,xarray |
5 | 93 |
|
6 | 94 | [tool.pytest.ini_options]
|
7 | 95 | addopts = [
|
|
0 commit comments