forked from knadh/tg-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (37 loc) · 1.31 KB
/
setup.py
File metadata and controls
44 lines (37 loc) · 1.31 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
#!/usr/bin/env python
from __future__ import annotations
from setuptools import setup
from tgarchive.meta import __version__
README = open('README.md').read()
def requirements() -> list[str]:
with open('requirements.txt') as f:
return f.read().splitlines()
setup(
name='tg-archive',
version=__version__,
description=(
'is a tool for exporting Telegram group chats into static websites, '
'preserving the chat history like mailing list archives.'),
long_description=README,
long_description_content_type='text/markdown',
author='Kailash Nadh, LogicDaemon',
author_email='tg-archive-fork@logicdaemon.ru',
url='https://github.com/LogicDaemon/tg-archive',
packages=['tgarchive'],
install_requires=requirements(),
include_package_data=True,
download_url='https://github.com/LogicDaemon/tg-archive',
license='MIT License',
entry_points={
'console_scripts': ['tg-archive = tgarchive.cli:main'],
},
python_requires=">=3.14",
classifiers=[
'Topic :: Communications :: Chat',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Documentation',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3 :: Only',
],
)