-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
56 lines (51 loc) · 1.33 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
import runpy
from distutils.core import setup
from setuptools import find_packages
__version__ = runpy.run_path("pynif3d/__init__.py")["__version__"]
requirements = {
"minimum": [
"torch>=1.6.0",
"scikit-build",
"opencv-python>=3.4.0",
"setuptools>=51.0.0",
"numpy>=1.18.5",
"PyYAML>=5.3.1",
"Cython>=0.29",
"gdown>=3.10.0",
"m2r2==0.2.7",
"mistune==0.8.4",
"torchvision",
"imageio",
],
"develop": [
"black==19.3.b0",
"flake8-comprehensions==3.3.0",
"flake8-bugbear==20.1.4",
"flake8==3.8.4",
"isort==4.3.21",
"mccabe==0.6.1",
"mock",
"sphinx",
"sphinx_markdown_tables",
"sphinx_rtd_theme",
],
"examples": [
"argparse>=1.4.0",
"tqdm>=4.42.0",
"tensorboard>=2.0.0",
],
}
setup(
name="pynif3d",
version=__version__,
url="https://github.com/pfnet/pynif3d",
author="Woven Core, Inc.",
description="PyTorch-based library for NIF-based 3D geometry representation",
packages=find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.6.0",
install_requires=requirements["minimum"],
extras_require={
"develop": requirements["develop"],
"examples": requirements["examples"],
},
)