Migrated from setup.cfg to pyproject.toml

This commit is contained in:
Fabio Manganiello 2025-02-16 11:46:18 +01:00
commit b38048e57b
3 changed files with 35 additions and 8 deletions

35
pyproject.toml Normal file
View file

@ -0,0 +1,35 @@
[project]
name = "madblog"
description = "A general-purpose framework for automation"
dynamic = ["version", "dependencies", "optional-dependencies", "entry-points", "license"]
authors = [
{name = "Fabio Manganiello", email = "fabio@manganiello.tech"},
]
classifiers=[
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
]
readme = "README.md"
requires-python = '>= 3.8'
keywords = ["blog", "markdown"]
[tool.setuptools.dynamic]
version = {attr = "madblog.__version__"}
dependencies = {file = "requirements.txt"}
[project.scripts]
madblog = 'madblog:__main__'
[tool.bumpversion]
current_version = "0.2.33"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "madblog/__init__.py"
[[tool.bumpversion.files]]
filename = "setup.py"

View file

@ -1,7 +0,0 @@
[bumpversion]
current_version = 0.2.33
commit = True
tag = True
[metadata]
description-file = README.md

View file

@ -1,6 +1,5 @@
#!/usr/bin/env python
import os
from setuptools import setup, find_packages