-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (26 loc) · 846 Bytes
/
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
from setuptools import setup, find_packages
def parse_requirements(filename):
with open(filename, "r", encoding="utf8") as f:
requirements = f.read().strip().split("\n")
requirements = [
r.strip() for r in requirements if r.strip() and not r.startswith("#")
]
return requirements
setup(
name="SManga",
version="0.3.2",
description="A CLI tool for scraping manga chapters using Scrapy",
packages=find_packages(),
install_requires=parse_requirements("requirements.txt"),
entry_points={
"console_scripts": [
"smanga=SManga.core.cli:app",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)