[Freeipa-devel] [freeipa PR#188][comment] Move Python egg-info to top level directory

tiran freeipa-github-notification at redhat.com
Thu Oct 27 13:08:13 UTC 2016


  URL: https://github.com/freeipa/freeipa/pull/188
Title: #188: Move Python egg-info to top level directory

tiran commented:
"""
I have changed the PR a bit

* dist and build are no longer moved
* as discussed on IRC ```freeipa.egg-info``` is now ```ipaserver.egg-info```. pkg_resource assumes that a egg-info directory has the same prefix as a package directory.
* I added a egg_info command plugin based on https://blog.kevin-brown.com/programming/2014/09/24/combining-autotools-and-setuptools.html . My variant uses the distutils API properly and corrects a bug with ```install_egg_info``` plugin.
* ipasetup now calculates the package root path based on the path of setup.py. This should be enough to enable VPATH out-of-tree builds.
* By default the egg-info directories are in the top-level project dir or on top_builddir. For in-tree tests the egg-info directories must be in sys.path in order to register entry points correctly, see PR #187 
"""

See the full comment at https://github.com/freeipa/freeipa/pull/188#issuecomment-256635536


More information about the Freeipa-devel mailing list