-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.py
54 lines (47 loc) · 1.63 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
53
54
# -*- 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) 2018
"""
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='smsactivateru',
version='1.2.6',
long_description=long_description(),
long_description_content_type='text/markdown',
description='Wrapper for automatic reception of SMS-messages by sms-activate.ru',
author='tezmen',
license='Apache License, Version 2.0, see LICENSE file',
keywords='sms, revice, sms-activate-ru, autoreg',
author_email='tezmenpro@gmail.com',
url='https://github.com/tezmen/python-sms-activate-ru',
download_url='https://github.com/tezmen/python-sms-activate-ru/archive/master.zip',
packages=['smsactivateru'],
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.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
]
)