On Thu, 07 Apr 2011 12:10:59 +0100 Michael Foord <fuzzyman at voidspace.org.uk> wrote: > On 06/04/2011 15:26, Nick Coghlan wrote: > > On Wed, Apr 6, 2011 at 6:22 AM, Glenn Linderman<v+python at g.nevcal.com> wrote: > >> With more standardization of versions, should the version module be promoted > >> to stdlib directly? > > When Tarek lands "packaging" (i.e. what distutils2 becomes in the > > Python 3.3 stdlib), the standardised version handling will come with > > it. > > > >> On 4/5/2011 11:52 AM, Barry Warsaw wrote: > >> > >> DEFAULT_VERSION_RE = re.compile(r'(?P<version>\d+\.\d(?:\.\d+)?)') > >> > >> __version__ = pkgutil.get_distribution('elle').metadata['version'] > >> > > I really dislike this way of specifying the version. For a start it is > really ugly. Agreed, it is incredibly obscure and unpleasantly opaque. Regards Antoine.
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