-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (29 loc) · 788 Bytes
/
setup.py
File metadata and controls
32 lines (29 loc) · 788 Bytes
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
import os
import sys
from setuptools import setup, find_packages
if sys.version_info.major != 3:
print("This Python is only compatible with Python 3, but you are running "
"Python {}. The installation will likely fail.".format(sys.version_info.major))
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='IVMDeploy',
py_modules=["IVM"],
version='0.0.0',
packages=find_packages(),
description='',
long_description=read('README.md'),
author='Jinliang Zheng, etc.',
install_requires=[
'torch',
'torchvision',
'timm',
'mmengine',
'tqdm',
'peft',
'numpy',
'transformers>=4.40.0',
'gdown',
'opencv-python'
]
)