forked from huawei-noah/trustworthyAI
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (40 loc) · 1.27 KB
/
setup.py
File metadata and controls
47 lines (40 loc) · 1.27 KB
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
# -*- coding:utf-8 -*-
"""Setuptools of castle."""
import setuptools
import sys
from castle import __version__
if sys.version_info < (3, 6):
sys.exit("Sorry, Python < 3.6 is not supported.")
with open("package.md", "r", encoding='utf-8') as fh:
long_desc = fh.read()
setuptools.setup(
name="gcastle",
version=__version__,
include_package_data=True,
python_requires=">=3.6",
author="Huawei Noah's Ark Lab",
author_email="zhangkeli1@huawei.com",
description="gCastle is the fundamental package for causal structure learning with Python.",
long_description=long_desc,
long_description_content_type="text/markdown",
url="https://github.com/huawei-noah/trustworthyAI/tree/master/gcastle",
packages=setuptools.find_packages(),
license="Apache License 2.0",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
install_requires=[
"tqdm>=4.48.2",
"numpy>=1.19.1",
"pandas>=0.22.0",
"scipy>=1.4.1",
"scikit-learn>=0.21.1",
"matplotlib>=2.1.2",
"networkx>=2.5",
"torch>=1.4.0",
"tensorflow==2.9.1",
"tensorflow_probability==0.17.0"
],
)