forked from painor/telethon-secret-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (33 loc) · 1.2 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
import re
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open('telethon_secret_chat/version.py', 'r', encoding='utf-8') as f:
version = re.search(r"^__version__\s*=\s*'(.*)'.*$",
f.read(), flags=re.MULTILINE).group(1)
setup(
name='telethon_secret_chat',
packages=find_packages(),
version=version,
license='MIT',
description='Telethon secret chat plugin',
author='painor',
long_description=long_description,
author_email='[email protected]',
url='https://github.com/painor/telethon-secret-chat',
download_url='https://github.com/painor/telethon-secret-chat/releases',
keywords=['Telegram', 'Telethon', 'SecretChats', 'Plugin'],
install_requires=[
'telethon',
],
python_requires='>=3.5',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Communications :: Chat',
'License :: OSI Approved :: MIT License',
"Programming Language :: Python :: 3",
],
)