-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
56 lines (45 loc) · 1.66 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
50
51
52
53
54
55
56
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from setuptools import setup
with open("requirements.txt", encoding="utf-8") as r:
requires = [i.strip() for i in r]
with open("TG_AutoPoster/__init__.py", encoding="utf-8") as f:
version = re.findall(r"__version__ = \"(.+)\"", f.read())[0]
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="TG_AutoPoster",
version=version,
author="qwertyadrian",
author_email="me@qwertyadrian.ru",
description="Telegram Bot for reposting from VK",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/qwertyadrian/TG_AutoPoster",
download_url="https://github.com/qwertyadrian/TG_AutoPoster/releases/latest",
license="MIT License",
platforms=["OS Independent"],
package_dir={
"TG_AutoPoster": "TG_AutoPoster",
"vk_api": "vk_api/vk_api",
"jconfig": "vk_api/jconfig",
},
install_requires=requires,
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet",
"Topic :: Communications",
"Topic :: Communications :: Chat",
],
python_requires="~=3.7",
)