Skip to content

Commit

Permalink
Setup versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Jan 3, 2024
1 parent e9bb7ca commit 4201a51
Show file tree
Hide file tree
Showing 3 changed files with 693 additions and 11 deletions.
11 changes: 10 additions & 1 deletion examples/developer_guide/3_simple_cpp_stage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,17 @@
build-backend = "setuptools.build_meta"
requires = ["setuptools", "wheel", "versioneer[toml]==0.29"]

[tool.versioneer]
# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.
VCS = "git"
style = "pep440"
tag_prefix = "v"
versionfile_build = "src/_version.py"
versionfile_source = "src/_version.py"

[tool.yapfignore]
ignore_patterns = [
"**/versioneer.py",
"**/_version.py",
]
10 changes: 0 additions & 10 deletions examples/developer_guide/3_simple_cpp_stage/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,3 @@ package_dir =

[options.packages.find]
where = src

# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.
[versioneer]
VCS = git
style = pep440
versionfile_source = src/_version.py
versionfile_build = src/_version.py
tag_prefix = v
Loading

0 comments on commit 4201a51

Please sign in to comment.