Do Python libraries need a ersion number?

Eric S. Raymond esr at
Fri Dec 15 09:02:47 UTC 2017

Hal Murray via devel <devel at>:
> Suppose a distro packages our stuff and it gets installed on a system.  Python executables go into /usr/bin/ and libraries go into /usr/lib/python2.7/site-packages/ntp/
> So far so good.
> Now what happens if a developer does a site install.  (Is that the right term?)
> Libraries get installed in /usr/local/lib/python2.7/site-packages/ntp/ and a .pth file gets setup to access them.  The new libraries will get used by the system-installed executables.
> Should we be using "ntp-1.0" rather than "ntp"?

If you look in the library Python directories you will see that this is not
done.  It would make writing imports a problem, as "ntp-1.0" is not parsed as
a single token in Python.
		<a href="">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute:
Please visit their site and donate: the civilization you save might be your own.

More information about the devel mailing list