-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (47 loc) · 1.3 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
from setuptools import setup, find_packages
try:
from install_preserve import preserve
except ImportError:
import pip # noqa
pip.main(['install', 'install-preserve'])
from install_preserve import preserve # noqa
install_requires = [
'scikit-image>=0.14.2',
'scipy>=1.1.0',
'numpy',
'opencv-python>=3.4.2.17',
'torch>=2.0.0',
'torchvision>=0.17.0',
'quickdl',
'tqdm',
]
excludes = [
'opencv-python:cv2',
'torch',
'torchvision'
]
install_requires = preserve(install_requires, excludes, verbose=True)
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='mcraft',
version='0.0.4a',
packages=find_packages(),
install_requires=install_requires,
entry_points={
'console_scripts': [
],
},
author='Manbehindthemadness',
author_email='[email protected]',
description='A modern version of CRAFT-pytorch using the latest versions',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/manbehindthemadness/modern-craft',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.10',
)