This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
forked from Tianxiaomo/pytorch-YOLOv4
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
68 lines (60 loc) · 1.89 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
63
64
65
66
67
68
import os
from setuptools import setup, find_packages
BASEDIR = os.path.dirname(os.path.abspath(__file__))
VERSION = open(os.path.join(BASEDIR, 'VERSION')).read().strip()
BASE_DEPENDENCIES = [
'numpy>=1.22',
'torch>=1.4.0',
'tensorboardX>=2.0',
'scikit_image>=0.16.2',
'matplotlib>=2.2.3',
'tqdm>=4.43.0',
'easydict>=1.9',
'Pillow>=9.0.1',
'opencv_python',
'wf-pycocotools>=2.0.1.1',
'googledrivedownloader>=0.4'
]
# TEST_DEPENDENCIES = [
# ]
#
# DEVELOPMENT_DEPENDENCIES = [
# ]
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(BASEDIR))
def long_description():
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
return f.read()
setup(
name='wf-pytorch-yolo-v4',
packages=find_packages(exclude=('tool.*', 'tool')),
version=VERSION,
include_package_data=True,
description='Forked version of a minimal PyTorch implementation of YOLOv4',
long_description=long_description(),
long_description_content_type='text/markdown',
original_url='https://github.com/Tianxiaomo/pytorch-YOLOv4',
original_author='Tianxiaomo',
url='https://github.com/WildflowerSchools/pytorch-YOLOv4',
author='Tianxiaomo; Benjamin Jaffe-Talberg',
author_email='[email protected]',
install_requires=BASE_DEPENDENCIES,
# tests_require=TEST_DEPENDENCIES,
# extras_require={
# 'development': DEVELOPMENT_DEPENDENCIES
# },
entry_points={
"console_scripts": [
"yolov4 = yolov4:main"
]
},
keywords=['yolo', 'yolov4', 'pytorch'],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
python_requires=">=3"
)