-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (34 loc) · 1.1 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
# -*- coding: utf-8 -*-
from os import path
from setuptools import setup
def long_description():
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():
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='logging2telegram',
version='1.0.4',
packages=['log2tg'],
url='https://github.com/tezmen/loging2telegram',
author='tezmen',
license='Apache License, Version 2.0, see LICENSE file',
description='Telegram logging handler',
long_description=long_description(),
long_description_content_type='text/markdown',
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',
]
)