forked from frankwiles/django-app-metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use hatch-vcs to figure out what version this thing has. We still upd…
…ate the version file on deploy but now we can do pip install @Branch and it will update correctly Signed-off-by: Steven K <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
requires = ["hatchling", "hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "pivotal-app-metrics" | ||
dynamic = ["version"] | ||
description = "django-app-metrics is a reusable Django application for tracking and emailing application metrics." | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
requires-python = ">=3.11" | ||
authors = [ | ||
{ name = "Pivotal Energy Solutions", email = "[email protected]" }, | ||
] | ||
|
@@ -26,9 +26,6 @@ classifiers = [ | |
"License :: Other/Proprietary License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Utilities", | ||
|
@@ -43,7 +40,6 @@ test = [ | |
"django-environ", | ||
"mysqlclient", | ||
"flake8", | ||
"tox", | ||
"coverage", | ||
"pre-commit", | ||
"black", | ||
|
@@ -52,13 +48,12 @@ test = [ | |
|
||
[project.urls] | ||
Issues = "https://github.com/pivotal-energy-solutions/django-app-metrics/issues" | ||
Download = "https://github.com/pivotal-energy-solutions/django-app-metrics/archive/4.0.4.tar.gz" | ||
Homepage = "https://github.com/pivotal-energy-solutions/django-app-metrics" | ||
Thanks = "https://saythanks.io/to/rh0dium" | ||
"Original Source" = "https://github.com/frankwiles/django-app-metrics" | ||
|
||
[tool.hatch.version] | ||
path = "app_metrics/__init__.py" | ||
source = "vcs" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
|
@@ -77,17 +72,11 @@ include = [ | |
line-length = 100 | ||
target-version = ['py311'] | ||
include = '\.pyi?$' | ||
exclude = ''' | ||
/( | ||
\.git | ||
| \.mypy_cache | ||
| \.tox | ||
| \.venv | ||
| _build | ||
| build | ||
| dist | ||
)/ | ||
''' | ||
exclude = '(\.git|.venv|_build|build|dist|.*\/__pycache__\/)' | ||
|
||
[tool.ruff] | ||
line-length = 100 | ||
lint.ignore = ["F401"] | ||
|
||
[tool.bandit] | ||
targets = ['app_metrics'] | ||
|