-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (23 loc) · 784 Bytes
/
Copy pathsetup.py
File metadata and controls
27 lines (23 loc) · 784 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
import re
from setuptools import find_namespace_packages, setup
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
with open("./karokit/__init__.py", encoding="utf-8") as f:
version = re.findall(r'__version__ = "(.+)"', f.read())[0]
setup(
name="karokit",
version=version,
install_requires=[
"httpx[socks]",
"beautifulsoup4",
"lxml",
"python-socketio[asyncio_client]",
],
python_requires=">=3.10",
description="Karotter scraper/API wrapper for python with no official API key required.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://karotter.com/",
packages=find_namespace_packages(include=["karokit*"]),
)