Enhancement #628

Fix python installation

Added by J. Wienke over 12 years ago. Updated over 12 years ago.

Status:ResolvedStart date:10/14/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

The current logic we are using is:

  1. call python setup.py install in order to correctly register the generated egg in the python egg registry. Otherwise python does not know anything about the egg when the python path points to the site-packages directory
    • use cmake install and install the egg to the same location again, as otherwise it would not appear in the CPack generated pacakges.
This causes two issues:
  1. raises an error while creating the package (e.g. for installing to /usr as a normal user) or really installs something. Both is not desired
  2. The generated package requires a script which fixes the egg-cache after installation. Otherwise the egg is not visible when using the egg to install.

Associated revisions

Revision c2ddce57
Added by J. Wienke over 12 years ago

Fix python installation by resembling the pthon install logic in cmake.

fixes #568 #628

History

#1 Updated by J. Wienke over 12 years ago

  • Subject changed from Fixp ython installation to Fix python installation

#2 Updated by J. Wienke over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r127.

Also available in: Atom PDF