-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
44 lines (40 loc) · 1.27 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
from setuptools import setup, find_packages
import os
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.md'), 'r') as fh:
long_description = fh.read()
except FileNotFoundError:
long_description = ''
version = {}
with open(os.path.join(here, 'patchgan/version.py')) as ver_file:
exec(ver_file.read(), version)
setup(
name='patchGAN',
version=version['__version__'],
description='patchGAN image segmentation model in PyTorch',
long_description=long_description,
long_description_content_type='text/markdown',
license='GNU General Public License v3',
url='https://github.com/ramanakumars/patchGAN',
author='Kameswara Mantha, Ramanakumar Sankar, Lucy Fortson',
packages=find_packages(),
entry_points={
'console_scripts': [
'patchgan_train = patchgan.train:patchgan_train',
'patchgan_infer = patchgan.infer:patchgan_infer'
]
},
install_requires=[
'numpy>=1.21.0,<1.25.2',
'torch>=1.13.0',
'matplotlib>3.5.0',
'torchvision>=0.14.0',
'tqdm>=4.62.3',
'torchinfo>=1.5.0,',
'pyyaml',
'patchify',
'einops'
]
)