-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
43 lines (36 loc) · 1.41 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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / "README.md").read_text(encoding="utf-8")
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
# See https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#setup-py
# for arguments reference
# See https://godatadriven.com/blog/a-practical-guide-to-using-setup-py/ for a quick, useful, guide
setup(
name="causally",
version="0.1.0",
author="Francesco Montagna", # Optional
author_email="[email protected]", # Optional
url="https://github.com/francescomontagna/causally",
description="Generator of causal discovery data under realistic assumptions.",
python_requires=">=3.8",
install_requires=[
"numpy>=1.25.2",
"networkx>=3.1",
"scikit-learn>=1.3.0",
"torch>=2.0.1",
"python-igraph>=0.11.2"
], # Optional
setup_requires=['pytest-runner', 'flake8'],
tests_require=['pytest'],
packages=find_packages(where="."),
include_package_data=True,
)