-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (18 loc) · 816 Bytes
/
setup.py
File metadata and controls
24 lines (18 loc) · 816 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
import os
import setuptools
REQUIRED = ['pyhocon>=0.3.54', 'requests>=2.23.0', 'PyJWT>=1.7.1']
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(BASE_DIR, 'api_client', '__version__.py'), 'r') as file:
exec(file.read(), about)
with open(os.path.join(BASE_DIR, 'README.md'), encoding='utf-8') as file:
long_description = '\n' + file.read()
setuptools.setup(name=about['__name__'],
version=about['__version__'],
description=about['__description__'],
long_description=long_description,
author=about['__author__'],
author_email=about['__author_email__'],
python_requires='>=3.6',
packages=['api_client'],
install_requires=REQUIRED)