-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
52 lines (45 loc) · 1.45 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
47
48
49
50
51
52
# -*- coding: utf-8 -*-
from os import path
from setuptools import setup
"""
@author: tezmen
@contact: https://t.me/tezmen
@license Apache License, Version 2.0, see LICENSE file
Copyright (C) 2019
"""
def long_description():
"""Build the description from README file """
this_dir = path.abspath(path.dirname(__file__))
with open(path.join(this_dir, 'README.md'), encoding='utf-8') as f:
return f.read()
def requirements():
"""Build the requirements list for this project"""
requirements_list = list()
with open('requirements.txt') as pc_requirements:
for install in pc_requirements:
requirements_list.append(install.strip())
return requirements_list
setup(
name='senlerpy',
version='2.2.1',
long_description=long_description(),
long_description_content_type='text/markdown',
description='Wrapper for senler.ru API',
author='tezmen',
license='Apache License, Version 2.0, see LICENSE file',
keywords='senler, api, wrapper',
author_email='tezmenpro@gmail.com',
url='https://github.com/tezmen/SenlerPy',
download_url='https://github.com/tezmen/SenlerPy/archive/master.zip',
packages=['senlerpy'],
install_requires=requirements(),
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Environment :: Console',
'Development Status :: 3 - Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
]
)