add pyproject.toml
This commit is contained in:
parent
370a9099f5
commit
eb58fb67d9
2 changed files with 42 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -4,3 +4,9 @@ format:
|
||||||
# Run tests
|
# Run tests
|
||||||
test:
|
test:
|
||||||
pytest .
|
pytest .
|
||||||
|
# Build package
|
||||||
|
build:
|
||||||
|
python -m build
|
||||||
|
# Upload package to PyPI
|
||||||
|
upload:
|
||||||
|
hatch publish
|
35
pyproject.toml
Normal file
35
pyproject.toml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "jekyll-to-hugo"
|
||||||
|
version = "0.0.2"
|
||||||
|
authors = [
|
||||||
|
{ name="Denis Nutiu", email="nuculabs@outlook.com" },
|
||||||
|
]
|
||||||
|
description = "Python library for converting jekyll md files to Hugo."
|
||||||
|
readme = "readme.md"
|
||||||
|
requires-python = ">=3.7"
|
||||||
|
classifiers = [
|
||||||
|
"Environment :: Console",
|
||||||
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python",
|
||||||
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
jekyll-to-hugo = "main:main"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
dev = ["black", "pdoc", "isort", "autoflake", "pytest"]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
"Homepage" = "https://github.com/dnutiu/jekyll-to-hugo"
|
||||||
|
"Bug Tracker" = "https://github.com/dnutiu/jekyll-to-hugo/issues"
|
Loading…
Reference in a new issue