-
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.
MAINT: Add version number from git tag using setuptools scm (shap#3402)
* Add setuptools-scm * Ignore _version.py, sort .gitignore * Disable routine pushing to TestPyPI * Specify fetch-tags true in build * Enable TestPyPI on manual trigger * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add MANIFEST.in --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ce770fd
commit 287e751
Showing
5 changed files
with
79 additions
and
36 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file controls what files are included in the source distribution. | ||
|
||
# Note: setuptools-scm will by default include everything managed by git, | ||
# so we need to manually exclude things that we don't wish to include. | ||
# See: https://github.com/pypa/setuptools_scm/issues/190 | ||
|
||
prune .github | ||
prune appveyor | ||
prune data | ||
prune docs | ||
prune javascript | ||
prune notebooks | ||
exclude .git-blame-ignore-revs .gitattributes .gitignore .pre-commit-config.yaml .readthedocs.yml | ||
exclude CONTRIBUTING.md requirements.txt MANIFEST.in |
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