-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 892 Bytes
/
setup.py
File metadata and controls
28 lines (24 loc) · 892 Bytes
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
from setuptools import setup
from ast import literal_eval
with open('tgback_x/version.py', encoding='utf-8') as f:
version = literal_eval(f.read().split('=')[1].strip())
setup(
name = 'tgback-x',
version = version,
packages = ['tgback_x'],
license = 'MIT',
description = 'tgback-x — a library for making Telegram account backups',
long_description = open('README.md', encoding='utf-8').read(),
author_email = 'thenonproton@pm.me',
url = 'https://github.com/NonProjects/tgback-x',
download_url = f'https://github.com/NonProjects/tgback-x/archive/refs/tags/v{version}.tar.gz',
long_description_content_type='text/markdown',
keywords = [
'Telegram', 'Backup', 'Account', 'Non-official'
],
install_requires = [
'pyaes==1.6.1',
'telethon==1.38.1',
'phrasegen<2'
],
)