-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (22 loc) · 728 Bytes
/
setup.py
File metadata and controls
27 lines (22 loc) · 728 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
from setuptools import setup
import re
requirements = ["aiohttp>=3.9.5", "aiofiles>=23.2.1"]
version = ''
with open('chatango/__init__.py') as f:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
readme = ""
with open("README.md") as f:
readme = f.read()
setup(name="chatango-lib",
author="neokuze",
url="https://github.com/neokuze/chatango-lib",
version=version,
packages=["chatango"],
license="GPL-3.0",
description="A Python library for connecting to Chatango",
long_description=readme,
long_description_content_type="text/markdown",
install_requires=requirements,
python_requires=">=3.8"
)