-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (40 loc) · 1.26 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
from re import findall
from setuptools import setup, find_packages
with open("pytdbot_sync/__init__.py", "r") as f:
version = findall(r"__version__ = \"(.+)\"", f.read())[0]
with open("README.md", "r") as f:
readme = f.read()
with open("requirements.txt", "r") as f:
requirements = [x.strip() for x in f.readlines()]
setup(
name="Pytdbot-sync",
version=version,
description="Easy-to-use synchronous TDLib wrapper for Python.",
long_description=readme,
long_description_content_type="text/markdown",
author="AYMEN Mohammed",
author_email="[email protected]",
url="https://github.com/dev-rio/pytdbot-sync",
license="MIT",
python_requires=">=3.9",
install_requires=requirements,
project_urls={
"Source": "https://github.com/dev-rio/pytdbot-sync",
"Tracker": "https://github.com/dev-rio/pytdbot-sync/issues",
},
packages=find_packages(exclude=["examples"]),
package_data={
"pytdbot-sync": ["lib/*.so", "td_api.*"],
},
keywords=[
"telegram",
"tdlib",
"bot",
"telegram-client",
"telegram-bot",
"bot-api",
"telegram-bot",
"tdlib-python",
"tdlib-bot",
],
)