Re: [Distutils] why do we still put version numbers into dist-info folders

2017-09-01 Thread Alex Grönholm
The question is, if we get rid of version numbers in the folder names, will it break anything we care about? Daniel Holth kirjoitti 01.09.2017 klo 23:38: A long time ago pkg_resources was able to sometimes get the version number only from the .egg-info folder name, and skip opening the

Re: [Distutils] why do we still put version numbers into dist-info folders

2017-09-01 Thread Daniel Holth
A long time ago pkg_resources was able to sometimes get the version number only from the .egg-info folder name, and skip opening the metadata at all when that data was not needed. We might always do listdir() for path in sys.path and parse every METADATA on the first pkg_resources import. On Fri,

Re: [Distutils] why do we still put version numbers into dist-info folders

2017-09-01 Thread Alex Grönholm
+1 for getting rid of version numbers in the dist-info folders. RonnyPfannschmidt kirjoitti 01.09.2017 klo 20:32: Hi everyone, a while now i have wondered - why put version numbers into the dist info folders not only makes it lookup more expensive (need to search for a distribution->folder

[Distutils] why do we still put version numbers into dist-info folders

2017-09-01 Thread RonnyPfannschmidt
Hi everyone, a while now i have wondered - why put version numbers into the dist info folders not only makes it lookup more expensive (need to search for a distribution->folder map) its also not serving a purpose, as the rest of the package is unversioned at the root of site-packages. in