Skip to content

Commit

Permalink
Use pyproject.toml (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasium authored Oct 19, 2023
1 parent 444ed59 commit 37725bc
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 66 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

1 change: 0 additions & 1 deletion VERSION

This file was deleted.

54 changes: 54 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"

[project]
name = "sqlalchemy-hana"
version = "0.6.0.dev0"
description = "SQLAlchemy dialect for SAP HANA"
keywords = ["sqlalchemy", "sap", "hana"]
requires-python = "~=3.8"
readme = "README.rst"
authors = [{ name = "Christoph Heer", email = "[email protected]" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: SQL",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = ["sqlalchemy>=1.4.0,<3", "hdbcli"]

[project.optional-dependencies]
dev = ["isort==5.12.0", "black==23.9.1", "pre-commit==3.5.0"]
test = ["pytest==7.4.2"]

[project.entry-points."sqlalchemy.dialects"]
hana = "sqlalchemy_hana.dialect:HANAHDBCLIDialect"
"hana.hdbcli" = "sqlalchemy_hana.dialect:HANAHDBCLIDialect"

[project.urls]
Repository = "https://github.com/SAP/sqlalchemy-hana"
"Issue Tracker" = "https://github.com/SAP/sqlalchemy-hana/issues"
Changelog = "https://github.com/SAP/sqlalchemy-hana/blob/master/CHANGES"

[project.license]
text = "Apache-2.0"

[tool.setuptools.packages.find]
include = ["sqlalchemy_hana"]

[tool.setuptools.package-data]
swagger_plugin_for_sphinx = ["py.typed"]

[tool.isort]
profile = "black"
add_imports = ["from __future__ import annotations"]
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[tool:pytest]
addopts= --tb native -v -r fxX -p no:warnings
python_files=test/*test_*.py

[sqla_testing]
requirement_cls=sqlalchemy_hana.requirements:Requirements
profile_file=.profiles.txt
60 changes: 0 additions & 60 deletions setup.py

This file was deleted.

Empty file added sqlalchemy_hana/py.typed
Empty file.

0 comments on commit 37725bc

Please sign in to comment.