A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-March/138868.html below:

[Python-Dev] some minor questions about pep8

[Python-Dev] some minor questions about pep8 [Python-Dev] some minor questions about pep8Barry Warsaw barry at python.org
Sat Mar 21 22:46:10 CET 2015
On Mar 21, 2015, at 05:00 PM, Donald Stufft wrote:

>I sort of think (though I haven’t completely convinced myself) that adding
>something like __version__ to a package is a work around to the fact that
>we don’t have an API that lets someone ask “what is the distribution and
>version that this module/import-package came from”.

I tend to agree.  Having that would solve one of the big problems that lead to
PEP 394 thinking, that of having to update version numbers in more than one
place.  ISTM the best place to do it is once in setup.py and let the metadata
flow.  The only downside is for doing in-tree development without 'installing'
the package (e.g. absence of venv, tox, or similar).

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150321/e6577ecc/attachment.sig>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4