-
Notifications
You must be signed in to change notification settings - Fork 134
/
setup.py
42 lines (36 loc) · 1.15 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
#!/usr/bin/env python
from codecs import open
import os
from setuptools import setup
metadata = {}
with open(os.path.join("tgarchive", "__metadata__.py")) as f:
exec(f.read(), metadata)
README = open("README.md").read()
def requirements():
with open('requirements.txt') as f:
return f.read().splitlines()
setup(
name="tg-archive",
version=metadata["__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",
author_email="[email protected]",
url="https://github.com/knadh/tg-archive",
packages=['tgarchive'],
install_requires=requirements(),
include_package_data=True,
download_url="https://github.com/knadh/tg-archive",
license="MIT License",
entry_points={
'console_scripts': [
'tg-archive = tgarchive:main'
],
},
classifiers=[
"Topic :: Communications :: Chat",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Documentation"
],
)