forked from anonymity2023/Causal-VLReasoning
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
62 lines (52 loc) · 1.79 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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.
setup(
name="hcpcvlr",
version="0.0.2",
description="CausalVLR: A Toolbox and Benchmark for Visual-Linguistic Causal Reasoning (视觉-语言因果推理开源框架)",
url="https://github.com/HCPLab-SYSU/CausalVLR",
author=[
"hcp_lab",
"liuyang",
"chenweixing"
],
author_email=[
],
classifiers=[
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
# Pick your license as you wish
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
],
keywords="causal",
# packages=['hcpcvlr'],
# package_dir={"": "src"}, # Optional 手动指定包目录
packages=find_packages(),
python_requires=">=3.7, <4", # python 版本要求
install_requires=[
"torch>=1.6.0",
"pyyaml",
"pandas",
"einops",
"scipy",
"matplotlib",
"dominate",
"visdom"
],
)