-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
46 lines (38 loc) · 1.32 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
45
46
from setuptools import setup
import ksoftapi
def get_requirements():
with open('requirements.txt') as f:
requirements = f.read().splitlines()
return requirements
version = ksoftapi.__version__
if not version:
raise RuntimeError('Version is not set')
with open('README.md') as f:
readme = f.read()
setup(
name='ksoftapi',
packages=['ksoftapi', 'ksoftapi.apis'],
version=version,
description='The official KSoft.SI API Wrapper.',
long_description=readme,
long_description_content_type="text/markdown",
author='AndyTempel',
author_email='[email protected]',
url='https://github.com/KSoft-Si/ksoftapi.py',
download_url=f'https://github.com/KSoft-Si/ksoftapi.py/archive/{version}.tar.gz',
keywords=['ksoftapi'],
install_requires=get_requirements(),
python_requires='>=3.6',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
)