forked from fatiando/pooch
-
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.
Replace versioneer with setuptools-scm (fatiando#235)
Remove the versioneer code from the repository base and the package (`_version.py`). Include setuptools-scm as a setup dependency and configure it to generate the version string into a `pooch/_version.py` file whenever the package is built. We don't track this in version control and the version inference is never done at run time. This removes the need to use `pkg_resources` to get the version number and is recommended by setuptools-scm. Needed to basically invert the `MANIFEST.in` since setuptools-scm includes everything under version control in the source distribution.
- Loading branch information
Showing
18 changed files
with
60 additions
and
2,452 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 |
---|---|---|
|
@@ -14,3 +14,4 @@ doc/api/generated | |
*.egg-info | ||
MANIFEST | ||
.coverage.* | ||
pooch/_version.py |
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,8 +1,13 @@ | ||
include README.rst | ||
include LICENSE.txt | ||
include CODE_OF_CONDUCT.md | ||
include CONTRIBUTING.md | ||
include AUTHORS.md | ||
include MAINTENANCE.md | ||
include versioneer.py | ||
recursive-include pooch/tests/data ** | ||
# Exclude these files from source distributions. | ||
# setuptools_scm includes everything else by default. | ||
prune .github | ||
prune data | ||
prune doc | ||
prune paper | ||
exclude .*.yml | ||
exclude .*rc | ||
exclude requirements*.txt | ||
exclude Makefile | ||
exclude .gitignore | ||
exclude .gitattributes | ||
exclude environment.yml |
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
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
Oops, something went wrong.