-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
46 lines (40 loc) · 1.32 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
from setuptools import setup, find_packages
version = open("src/version").read()
long_description = open("README.md").read()
install_require = [
"torch >=1.3, <1.4",
"torchvision >=0.4, <0.5",
"matplotlib >=3.1, <4",
"tensorboard >=2.0, <3",
"click >=7.0, <8",
"pillow >=6.2, <7",
"opencv-python >=4.1, <5",
]
scripts_require = [
"psutil >=5.6, <6"
]
setup_args = {
"name": "pytorch_vedai",
"version": version,
"author": "Michel Halmes",
"author_email": "none",
"python_requires": ">= 3",
"description": "Applying object detection to satellite images using pyTorch",
"long_description": long_description,
"url": "https://github.com/MichelHalmes/pytorch-vedai",
"packages": find_packages(include=["src"]),
"package_dir": {"src": "src"},
"package_data": {"": ["*.md", "version"]},
"install_requires": install_require,
"extras_require": {"scripts": scripts_require},
"entry_points": {
"console_scripts": [
"train_distr=src.entrypoints.train_distributed:main",
"run_eval=src.entrypoints.run_evaluation:main",
"convert_images=scripts.convert_images:main",
"demo_augmentation=scripts.demo_augmentation:main",
"demo_memory_leak=scripts.demo_memory_leak:main",
],
}
}
setup(**setup_args)