Skip to content

Commit 16dfde2

Browse files
committed
build!: Add FicImageScript project configuration and setup files
1 parent 8f9f701 commit 16dfde2

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

pyproject.toml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[project]
2+
name = "FicImageScript"
3+
version = "1.0.0"
4+
authors = [
5+
{ name="Emmanuel C. Jemeni", email="[email protected]" }
6+
]
7+
description = "FicImage is an application designed to enhance the reading experience of FicHub epubs."
8+
readme = "README.md"
9+
requires-python = ">=3.6"
10+
license = {file = "LICENSE"}
11+
keywords = ["fanfiction", "fichub", "ficimage", "image"]
12+
classifiers = [
13+
"Development Status :: 5 - Production/Stable",
14+
"Programming Language :: Python :: 3",
15+
"License :: OSI Approved :: MIT License",
16+
"Operating System :: OS Independent",
17+
"Topic :: Internet :: WWW/HTTP",
18+
]
19+
20+
[project.urls]
21+
"Homepage" = "https://github.com/Jemeni11/FicImage"
22+
"Bug Tracker" = "https://github.com/Jemeni11/FicImage/issues"
23+
24+
[build-system]
25+
# These are the assumed default build requirements from pip:
26+
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
27+
requires = ["setuptools>=43.0.0", "wheel"]

setup.py

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import setuptools
2+
3+
with open("README.md", "r", encoding="utf-8") as fh:
4+
long_description = fh.read()
5+
6+
setuptools.setup(
7+
name="FicImageScript",
8+
version="1.0.0",
9+
author="Emmanuel C. Jemeni",
10+
author_email="[email protected]",
11+
description="FicImage is an application designed to enhance the reading experience of FicHub epubs.",
12+
long_description=long_description,
13+
long_description_content_type="text/markdown",
14+
url="https://github.com/Jemeni11/FicImage",
15+
project_urls={
16+
"Bug Tracker": "https://github.com/Jemeni11/FicImage/issues",
17+
},
18+
entry_points={
19+
'console_scripts': [
20+
'ficimage=FicImage.main:main'
21+
]
22+
},
23+
install_requires=[
24+
'beautifulsoup4==4.12.2',
25+
'certifi==2022.12.7',
26+
'charset-normalizer==3.1.0',
27+
'EbookLib==0.18',
28+
'idna==3.4',
29+
'lxml==4.9.2',
30+
'Pillow==9.5.0',
31+
'requests==2.29.0',
32+
'six==1.16.0',
33+
'soupsieve==2.4.1',
34+
'urllib3==1.26.15'
35+
],
36+
keywords="fanfiction fichub ficimage image download epub",
37+
classifiers=[
38+
"Development Status :: 5 - Production/Stable",
39+
"Programming Language :: Python :: 3",
40+
"License :: OSI Approved :: MIT License",
41+
"Operating System :: OS Independent",
42+
"Topic :: Internet :: WWW/HTTP",
43+
],
44+
packages=setuptools.find_packages('.'),
45+
python_requires=">=3.6"
46+
)

0 commit comments

Comments
 (0)