-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (27 loc) · 1012 Bytes
/
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
from setuptools import setup, find_packages
from codecs import open
from os import path
from src.version import __version__
here = path.abspath(path.dirname(__file__))
try:
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
except FileNotFoundError:
long_description = ''
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
install_requires = [line.strip() for line in f]
setup(
name='text-rsisr',
version=__version__,
description='Real World Text Images Super Resolution',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/Dmytro-Shvetsov/text-rsisr.git',
author='Dmytro Shvetsov',
author_email='shvetsovdi2@gmail.com',
packages=find_packages(exclude=['data', 'pretrained_models']),
include_package_data=True,
install_requires=install_requires,
python_requires='>=3.6',
)