-
Notifications
You must be signed in to change notification settings - Fork 105
/
setup.py
61 lines (51 loc) · 1.94 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
from setuptools import setup, find_packages
from pkg_resources import parse_requirements
import pathlib
DISTNAME = 'asone'
DESCRIPTION = ''
MAINTAINER = 'AxcelerateAI'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://github.com/axcelerateai/asone'
DOWNLOAD_URL = URL
VERSION = '0.3.2'
with open('README.md') as f:
long_description = f.read()
requirements_txt = pathlib.Path('requirements.txt').open()
def setup_package():
setup(
name=DISTNAME,
version=VERSION,
description=DESCRIPTION,
long_description = long_description,
long_description_content_type='text/markdown',
url=DOWNLOAD_URL,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
license='BSD 2-clause',
keywords='asone bytetrack deepsort norfair yolo yolox yolor yolov5 yolov7 installation inferencing',
# package_dir={"":""},
packages=find_packages(),
dependency_links=[
"https://download.pytorch.org/whl/cu113/",
'https://pypi.python.org/simple/'],
install_requires=[str(requirement)
for requirement in parse_requirements(requirements_txt)],
package_data={
"": ["detectors/yolor/cfg/*.cfg", "detectors/data/*.yaml",
"detectors/data/*.yml", "detectors/data/*.names"],
},
include_package_data=True,
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows :: Windows 10',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
)
if __name__ == "__main__":
setup_package()