Skip to content

Commit

Permalink
1.5.0_RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdanbobrowski committed Dec 14, 2024
1 parent 8b925c6 commit 65a7598
Showing 1 changed file with 72 additions and 7 deletions.
79 changes: 72 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,73 @@
[project]
name = "blog2epub"
version = "1.5.0"
description = "Convert blog (blogspot.com, wordpress.com or another based on Wordpress) to epub using CLI or GUI."
authors = [{ name = "Bohdan Bobrowski", email = "[email protected]" }]
license = { file = "LICENSE" }
keywords = [
"android",
"blog",
"blogging",
"ebook",
"ebook-downloader",
"ebook-generator",
"ebook-reader",
"epub-generator",
"gui",
"linux",
"linux-desktop",
"macos",
"website-archive",
"windows",
]
readme = "README.md"
requires-python = ">=3.10, <3.13"
dependencies = [
"pydantic",
"beautifulsoup4",
"ebooklib",
"python-dateutil",
"atoma",
"fake-useragent",
"pyyaml",
"kivy",
"kivymd",
"pydantic-yaml",
"plyer",
"pyjnius",
"strip-tags",
"imagesize",
"filetype",
"html5lib",
"click",
"webencodings",
"soupsieve",
"pytz",
"ftfy",
]

[project.optional-dependencies]
dev = [
"ruff",
"pyinstaller",
"mypy",
"pytest",
"lxml-stubs",
"types-pyyaml",
"types-pyinstaller",
"types-python-dateutil",
"types-requests",
"cython",
"pytest-cov",
"types-pytz",
]

[project.scripts]
blog2epub = "blog2epub.blog2epub_cli:main"
blog2epubgui = "blog2epub.blog2epub_gui:main"
build_gui_windows = "blog2epub_build:build_gui_windows"
build_gui_macos = "blog2epub_build:build_gui_macos"

[tool.setuptools]
packages = ["blog2epub"]

Expand Down Expand Up @@ -66,15 +136,10 @@ ignore = ["E501"]
[tool.mypy]
exclude = ["venv", "dist", "build"]


[tool.ruff.lint.extend-per-file-ignores]
"blog2epub_gui.py" = ["E402"]

# TODO: verify if this default value bolow can be changed to setupotools
# [build-system]
# requires = ["poetry-core"]
# build-backend = "poetry.core.masonry.api"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"
package-data = { "assets" = ["*.ttf", "*.png"] }

0 comments on commit 65a7598

Please sign in to comment.