-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (34 loc) · 1.11 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
import pathlib
from setuptools import setup
from re import findall
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text(encoding="utf-8")
VERSION = findall(r"__version__ = '(.*)'", (HERE / "vk_sdk/__init__.py").read_text())[0]
# This call to setup() does all the work
setup(
name="vk_sdk",
version=VERSION,
description="Wrapper around vk_api library",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/SPRAVEDLIVO/VK-SDK",
author="SPRAVEDLIVO",
author_email="[email protected]",
license="AGPLv3",
packages=["vk_sdk"],
python_requires='>=3.10',
classifiers=[
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
],
include_package_data=True,
install_requires=["pytz", "vk_api"],
entry_points={
"console_scripts": [
"realpython=reader.__main__:main",
]
},
)