-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6fbe3c
commit fc1d5d1
Showing
1 changed file
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,42 +16,56 @@ | |
# You should have received a copy of the GNU Lesser General Public License | ||
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
from setuptools import setup, Extension, find_packages | ||
import re | ||
|
||
from setuptools import setup, Extension, find_packages | ||
|
||
# PyPI doesn't like raw html | ||
with open("README.rst", encoding="utf-8") as f: | ||
readme = re.sub(r"\.\. \|.+\| raw:: html(?:\s{4}.+)+\n\n", "", f.read()) | ||
readme = re.sub(r"\|header\|", "|logo|\n\n|description|", readme) | ||
|
||
setup( | ||
name="TgCrypto", | ||
version="1.0.2", | ||
version="1.0.3b3", | ||
description="Fast Telegram Crypto Library for Python", | ||
url="https://github.com/pyrogram/tgcrypto", | ||
long_description=readme, | ||
url="https://github.com/pyrogram", | ||
download_url="https://github.com/pyrogram/tgcrypto/releases/latest", | ||
author="Dan Tès", | ||
author_email="[email protected]", | ||
license="LGPLv3+", | ||
keywords="fast pyrogram telegram crypto mtproto api client library python", | ||
long_description=readme, | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: C", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.3", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: Implementation", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Security", | ||
"Topic :: Security :: Cryptography", | ||
"Topic :: Internet", | ||
"Topic :: Communications", | ||
"Topic :: Communications :: Chat", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
], | ||
keywords="fast pyrogram telegram crypto mtproto api client library python", | ||
project_urls={ | ||
"Tracker": "https://github.com/pyrogram/tgcrypto/issues", | ||
"Community": "https://t.me/PyrogramChat", | ||
"Source": "https://github.com/pyrogram/tgcrypto", | ||
"Documentation": "https://docs.pyrogram.ml", | ||
}, | ||
python_requires="~=3.3", | ||
packages=find_packages(), | ||
zip_safe=False, | ||
ext_modules=[ | ||
|