Skip to content

Commit

Permalink
Remove the outdated "single sourcing package version" advice. Now tha…
Browse files Browse the repository at this point in the history
…t Python 3.7 is EOL and importlib.metadata is available in all non-EOL Python versions, it is no longer advisable to keep a __version__ attribute in the source code. Use importlib.metadata.version() to retrieve it from package metadata if necessary
  • Loading branch information
wimglenn committed Jul 20, 2023
1 parent 03b212a commit a963e99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 173 deletions.
1 change: 0 additions & 1 deletion source/guides/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ introduction to packaging, see :doc:`/tutorials/index`.

distributing-packages-using-setuptools
using-manifest-in
single-sourcing-package-version
dropping-older-python-versions
packaging-binary-extensions
packaging-namespace-packages
Expand Down
172 changes: 0 additions & 172 deletions source/guides/single-sourcing-package-version.rst

This file was deleted.

0 comments on commit a963e99

Please sign in to comment.