forked from thedemons/opentele
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (45 loc) · 1.47 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
47
48
49
import pathlib
from setuptools import setup
import re
README = (pathlib.Path(__file__).parent / "README.md").read_text()
PACKAGE_NAME = "tlapi"
VERSION = "0.0.2"
SOURCE_DIRECTORY = "src"
with open("requirements.txt") as data:
requirements = [
line for line in data.read().split("\n") if line and not line.startswith("#")
]
setup(
name=PACKAGE_NAME,
version=VERSION,
license="MIT",
description="A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/hashemdalijeh/tlapi",
author="hashemdalijeh",
author_email="hashemdalijeh@gmail.com",
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
],
keywords=[
"tdata",
"tdesktop",
"telegram",
"telethon",
"opentele",
"tlapi",
"official_Telegram_APIs",
'tl_api',
'Telegram_API',
],
include_package_data=True,
packages=[PACKAGE_NAME, PACKAGE_NAME+'.td', PACKAGE_NAME+'.tl'],
package_dir={PACKAGE_NAME: SOURCE_DIRECTORY},
install_requires=requirements,
)