-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (39 loc) · 1.09 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
from setuptools import setup, find_packages
import os
ROOT_DIR = os.path.dirname(os.path.realpath(__file__))
# f= open (os.path.join(ROOT_DIR, 'bobotools/requirements.txt'),'r')
# install_requires = [line.strip() for line in f.readlines()]
# f.close()
install_requires = [
"pytest",
"tqdm",
"opencv-python-headless",
"numpy",
"ptflops",
"torch",
"torchvision",
"grad-cam",
"pillow",
]
setup(
name="bobotools",
packages=find_packages(),
license="MIT",
author="bobo0810",
description="bobotools",
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
version="0.4.8.0", # 版本
install_requires=install_requires,
python_requires=">=3.6",
include_package_data=True,
classifiers=[
"Environment :: Console",
"Natural Language :: English",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
],
)