-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (46 loc) · 1.36 KB
/
setup.py
File metadata and controls
51 lines (46 loc) · 1.36 KB
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
50
51
from setuptools import setup, find_packages
import subprocess
def get_version():
"""
Retrieves the version of the project using `cz` command.
Returns:
str: The version of the project.
"""
try:
output = (
subprocess.check_output(["cz", "version", "--project"])
.decode("utf-8")
.strip()
)
return output
except subprocess.CalledProcessError:
return "0.0.0"
setup(
name="telemetree",
version="0.4.0",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=[
"setuptools",
"requests",
"pydantic",
"pycryptodome",
"rsa",
"telethon",
],
author="Chris Cherniakov",
author_email="chris@ton.solutions",
description="Python SDK for Telegram event tracking and analytics.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/TONSolutions/telemetree-python",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)