-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (32 loc) · 1.15 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.md'), encoding='utf-8') as f:
long_description = f.read()
with open('pyrogram_secret_chat/version.py', 'r', encoding='utf-8') as f:
version = re.search(r"^__version__\s*=\s*'(.*)'.*$", f.read(), flags=re.MULTILINE)[1]
setup(
name='pyrogram_secret_chat',
packages=find_packages(),
version=version,
license='MIT',
description='Pyrogram secret chat plugin',
author='doggy',
long_description=long_description,
url='https://github.com/doggyhaha/pyrogram-secret-chat',
download_url='https://github.com/doggyhaha/pyrogram-secret-chat/releases',
keywords=['Telegram', 'Pyrogram', 'SecretChats', 'Plugin'],
install_requires=[
'pyrogram',
'tgcrypto',
],
python_requires='>=3.5',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Communications :: Chat',
'License :: OSI Approved :: MIT License',
"Programming Language :: Python :: 3",
],
)