forked from zhoudaxia233/EfficientUnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (27 loc) · 843 Bytes
/
setup.py
File metadata and controls
29 lines (27 loc) · 843 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
import os
import sys
import platform
import efficientunet
from setuptools import setup
# "setup.py publish" shortcut.
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist')
os.system('twine upload dist/*')
if platform.system() == 'Windows':
os.system('powershell rm –path dist, efficientunet.egg-info –recurse –force')
else:
os.system('rm -rf dist efficientunet.egg-info')
sys.exit()
setup(
name='efficientunet',
version=efficientunet.__version__,
description="Keras Implementation of Unet with EfficientNet as encoder.",
keywords='unet-keras',
url='https://github.com/zhoudaxia233/efficientunet',
license='MIT',
packages=['efficientunet'],
include_package_data=True,
zip_safe=False,
install_requires=['Keras>=2.2.4'],
python_requires='>=3.6'
)