feat: switch from setup.cfg to pyproject.toml + hatchling
This commit is contained in:
parent
6acada7c03
commit
2740db831f
7 changed files with 101 additions and 116 deletions
52
pyproject.toml
Normal file
52
pyproject.toml
Normal file
|
@ -0,0 +1,52 @@
|
|||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
|
||||
[project]
|
||||
name = "sqlalchemy-pervasive"
|
||||
version = "0.2.2"
|
||||
description = "SQLAlchemy Dialect for Pervasive PSQL"
|
||||
readme = "README.rst"
|
||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||
license = {text = "GNU GPL v3+"}
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Natural Language :: English",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
]
|
||||
dependencies = [
|
||||
"pyodbc",
|
||||
"SQLAlchemy",
|
||||
]
|
||||
|
||||
|
||||
[project.entry-points."sqlalchemy.dialects"]
|
||||
pervasive = "sqlalchemy_pervasive.pyodbc:PervasiveDialect_pyodbc"
|
||||
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://kallithea.rattailproject.org/rattail-project-contrib/sqlalchemy-pervasive"
|
||||
Repository = "https://kallithea.rattailproject.org/rattail-project-contrib/sqlalchemy-pervasive"
|
||||
Changelog = "https://kallithea.rattailproject.org/rattail-project-contrib/sqlalchemy-pervasive/files/master/CHANGELOG.md"
|
||||
|
||||
|
||||
[tool.commitizen]
|
||||
version_provider = "pep621"
|
||||
tag_format = "v$version"
|
||||
update_changelog_on_bump = true
|
||||
|
||||
|
||||
[tool.nosetests]
|
||||
nocapture = 1
|
||||
cover-package = "sqlalchemy_pervasive"
|
||||
cover-erase = 1
|
||||
cover-inclusive = 1
|
||||
cover-html = 1
|
||||
cover-html-dir = "htmlcov"
|
Loading…
Add table
Add a link
Reference in a new issue