-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
46 lines (40 loc) · 1.18 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/__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",
version=version,
description="Easy-to-use asynchronous TDLib wrapper for Python.",
long_description=readme,
long_description_content_type="text/markdown",
author="AYMEN Mohammed",
author_email="[email protected]",
url="https://github.com/pytdbot/client",
license="MIT",
python_requires=">=3.9",
install_requires=requirements,
project_urls={
"Source": "https://github.com/pytdbot/client",
"Tracker": "https://github.com/pytdbot/client/issues",
},
packages=find_packages(exclude=["examples"]),
package_data={
"pytdbot": ["lib/*.so", "td_api.*"],
},
keywords=[
"telegram",
"tdlib",
"bot",
"telegram-client",
"telegram-bot",
"bot-api",
"telegram-bot",
"tdlib-python",
"tdlib-bot",
],
)