Enhancement #628
Fix python installation
Status: | Resolved | Start date: | 10/14/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
The current logic we are using is:
- 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.
- 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
- 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
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.