enable setuptools-git-versioning

cv2_1
scito 1 year ago
parent 144c9e6320
commit 1beba7587f

@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=64.0.0", "wheel>=0.37.0", "pip", "setuptools-scm",
"setuptools>=64.0.0", "wheel>=0.37.0", "pip", "setuptools-git-versioning",
]
build-backend = "setuptools.build_meta"
@ -26,7 +26,6 @@ classifiers = [
"Natural Language :: English",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
version = "1.6.0"
dependencies = [
"protobuf",
"qrcode",
@ -37,7 +36,7 @@ dependencies = [
"typing_extensions; python_version<='3.7'",
]
description = "Extract two-factor authentication (2FA, TFA, OTP) secret keys from export QR codes of 'Google Authenticator' app"
# TODO dynamic = ["version"]
dynamic = ["version"]
keywords = ["python", "security", "json", "otp", "csv", "protobuf", "qrcode", "two-factor", "totp", "google-authenticator", "recovery", "proto3", "mfa", "two-factor-authentication", "tfa", "qr-codes", "otpauth", "2fa", "security-tools"]
license = {text = "GNU General Public License v3 (GPLv3)"}
readme = "README.md"
@ -51,7 +50,10 @@ urls = {Project-URL = "https://github.com/scito/extract_otp_secret_keys", Bug-Re
py-modules = ["extract_otp_secret_keys"]
[tool.setuptools.dynamic]
# TODO version = {attr = "extract_otp_secret_keys.VERSION"}
# version = {attr = "extract_otp_secret_keys.VERSION"}
[tool.setuptools-git-versioning]
enabled = true
[tool.setuptools.package-data]
"extract_otp_secret_keys" = ["*.txt", "*.json", "*.csv", "*.png", "*.md"]

Loading…
Cancel
Save