Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use versioneer #87

Closed
orbeckst opened this issue Jul 18, 2020 · 0 comments · Fixed by #88
Closed

use versioneer #87

orbeckst opened this issue Jul 18, 2020 · 0 comments · Fixed by #88

Comments

@orbeckst
Copy link
Collaborator

Stream-line version information with https://github.com/warner/python-versioneer and maintain the version as the git tag.

@orbeckst orbeckst self-assigned this Jul 18, 2020
orbeckst added a commit to Becksteinlab/propka that referenced this issue Jul 18, 2020
- fix jensengroup#87
- use tag "vMAJOR.MINOR.PATCH" to indicate release number
- exclude generated files from coverage;
  also exclude tests from coverage reporting;
  allow use of "# pragma: no cover" to exclude lines of code
  from coverage
- configure coverage with entries in setup.cfg (removed
  commandline config from workflows/python-package.yml)
orbeckst added a commit that referenced this issue Jul 18, 2020
- fix #87
- user versioneer for version management
   - use tag "vMAJOR.MINOR.PATCH" to indicate release number
   - exclude generated files from coverage;
      also exclude tests from coverage reporting;
      allow use of "# pragma: no cover" to exclude lines of code
      from coverage
   - configure coverage with entries in setup.cfg (removed
      commandline config from workflows/python-package.yml)
- related doc updates
   - make docs automatically use current version
      (docs use versioneer-based propka.__version__)
   - also added @IAlibay to authors (forgotten in previous
      PRs #84 and #85)
   - generate a sitemap (add sphinx_sitemap to requirements.txt)
- add test_version
   Note: Versioneer-generated version is “0-untagged” on the branch where
   it is tested so need to add it to a valid result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant