-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (47 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
47
48
49
50
51
import setuptools
from src.pytorch_helper import __version__
requires = [
'nvidia-ml-py',
'numpy',
'matplotlib',
'pillow',
'opencv-python',
'ruamel.yaml',
'tqdm',
'colorama',
'colorlog',
# 'psutil',
# 'PyPDF4',
'tensorboard',
'tensorboardX',
'torch_tb_profiler',
'snakeviz',
'six>=1.7',
'blessed>=1.17.1',
'setuptools',
'wheel',
]
with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(
name='pytorch_helper',
version=__version__,
author='Zhirui Dai',
author_email='[email protected]',
description='A package that provides a useful helper framework for PyTorch',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/daizhirui/pytorch-helper',
project_urls={
'Bug Tracker': 'https://github.com/daizhirui/pytorch-helper/issues',
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
],
install_requires=requires,
package_dir={'': 'src'},
packages=setuptools.find_packages(where='src'),
python_requires='>=3.8',
)