-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
38 lines (32 loc) · 894 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
32
33
34
35
36
37
38
from setuptools import find_packages, setup
with open('readme.md') as f:
readme = f.read()
with open('requirements.txt') as f:
requirements = f.read()
__version__ = ''
__licence__ = ''
__author__ = ''
__name__ = ''
with open('tetry/__init__.py') as f:
for line in f.read().splitlines():
if line.startswith('__'):
exec(line)
source = 'https://github.com/apes0/tetry'
setup(
url=source,
name=__name__,
license=__licence__,
project_urls={
'Source': source,
'Tracker': f'{source}/issues',
},
packages=find_packages(
include=['tetry', 'tetry.api', 'tetry.oldApi', 'tetry.bot', ]),
version=__version__,
description='tetr.io api wrapper',
long_description=readme,
long_description_content_type='text/markdown',
author=__author__,
python_requires='>=3.6',
install_requires=requirements
)