Skip to content

Commit

Permalink
Use pyproject.toml for setuptools config
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-the1 committed Mar 24, 2024
1 parent 9e66ff1 commit 5a37d90
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 39 deletions.
28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]~=6.0"]
build-backend = "setuptools.build_meta"

[project]
name = "diepvries"
version = "0.9.2"
description = "diepvries - Picnic Data Vault framework"
readme = {file = "README.md", content-type = "text/markdown"}
keywords = ["data vault"]
license = {file = "LICENSE"}
authors = [{name = "Picnic Technologies"}]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
]
dependencies = ["snowflake-connector-python~=3.0"]
requires-python = ">= 3.8"

[project.optional-dependencies]
test = ["pytest~=6.2", "tox"]

[project.urls]
Documentation = "https://diepvries.picnic.tech/"
"Source Code" = "https://github.com/PicnicSupermarket/diepvries"
"Issue Tracker" = "https://github.com/PicnicSupermarket/diepvries/issues"

[tool.setuptools]
package-dir = {where = "src"}

[tool.setuptools_scm]
tag_regex = "^diepvries/(?P<version>[0-9\\.]+)$" # backslash needs to be escaped in TOML
local_scheme = "no-local-version"
30 changes: 0 additions & 30 deletions setup.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions setup.py

This file was deleted.

0 comments on commit 5a37d90

Please sign in to comment.