This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (36 loc) · 1.47 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
import os.path
from setuptools import setup, find_packages
here = os.path.dirname(__file__)
description_file = os.path.join(here, "README.md")
version_file = os.path.join(here, "src", "rule34_posts_wrapper", "__version__.py")
version_info = {}
with open(version_file, "r") as f:
exec(f.read(), version_info)
dev_requirements = ["coverage", "pytest", "pytest-cov", "pre-commit", "coverage", "tox"]
setup(
name=version_info["__title__"],
version=version_info["__version__"],
packages=find_packages("src", exclude=["test"]),
package_dir={"": "src"},
url="https://github.com/nukdokplex/rule34-posts-wrapper",
license="MIT",
author="NukDokPlex",
author_email="[email protected]",
description="Library for retrieving posts and tags from rule34.paheal.net",
long_description_content_type="text/markdown",
long_description=open("README.md", "r").read(),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Multimedia",
"Topic :: Games/Entertainment",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=["requests", "lxml", "beautifulsoup4", "soupsieve", "urllib3"],
extras_require={"development": dev_requirements},
)