-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from oscal-compass/dev
switch to use static versioning
- Loading branch information
Showing
2 changed files
with
11 additions
and
8 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,21 +1,15 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-git-versioning"] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools-git-versioning] | ||
enabled = true | ||
count_commits_from_version_file = true | ||
dev_template = "{tag}.post{ccount}+git.{sha}.dirty" | ||
dirty_template = "{tag}.post{ccount}+git.{sha}.dirty" | ||
|
||
[tool.setuptools] | ||
package-dir = { "c2p" = "c2p" } | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["c2p*"] | ||
|
||
[project] | ||
dynamic = ["version"] | ||
version = "v0.3.0" | ||
name = "compliance-to-policy" | ||
authors = [{ name = "Takumi Yanagawa", email = "[email protected]" }] | ||
description = "Tools to bridge Compliance and Policy" | ||
|
@@ -47,6 +41,7 @@ dev = [ | |
"pytest>=8.0.0", | ||
"pre-commit>=2.4.0", | ||
"pep8-naming", | ||
"toml-cli", | ||
"types-PyYAML", | ||
"types-setuptools", | ||
## Docs website | ||
|