Bug #430
xboa accelerator tools installs to wrong directory:
0%
Description
example:
-bash-3.2$ pwd
/home/hep/tunnell/maus/third_party/home/hep/tunnell/maus/third_party/install/share/xboa
-bash-3.2$ ls
data doc
this is on the RAL machines.
Related issues
Updated by Tunnell, Christopher over 12 years ago
- Target version changed from MAUS-v0.0.1 to Future MAUS release
Updated by Tunnell, Christopher over 12 years ago
Is this worth me trying to include xboa to the build system again?
Updated by Rogers, Chris over 12 years ago
I thought it's only the documentation and some sample files going to the wrong place - the code should install okay. There was some problem with setup.py so I hard coded the url of the share directory (which is what is going wrong).
If you look at setup.py
http://micewww.pp.rl.ac.uk/projects/x-boa/repository/entry/setup.py
There's:
sys.prefix+'/share/xboa/doc/'
sys.prefix+'/share/xboa/data/'
So the examples won't run properly and the docs will be hard to reach. But otherwise should be okay.
Updated by Rogers, Chris over 12 years ago
- Status changed from Open to Rejected
- % Done changed from 0 to 100
I can't reproduce this bug. I checked (i) that xboa installs to correct directory and (ii) that xboa.examples.Example_1 gets file from correct directory (in this case $MAUS_ROOT_DIR/third_party/install/share/xboa).
Updated by Rogers, Chris over 12 years ago
- Status changed from Rejected to Open
- % Done changed from 100 to 0
No, too easy. It's picking up the share directory of whoever last ran
python setup.py sdist... reopened.
Updated by Rogers, Chris over 12 years ago
Excerpt, for example, from log of MAUS_trunk build on test server - note /var/lib/... .../third_party/var/lib/.../
creating /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var ... creating /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/install/share/xboa/doc copying README -> /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/install/share/xboa/doc/ ... copying doc/Common.html -> /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/install/share/xboa/doc/
code is installed okay though:
copying build/lib.linux-x86_64-2.7/xboa/core/Hitcore.so -> /var/lib/jenkins/jobs/MAUS_rogers/workspace/third_party/install/lib/python2.7/site-packages/xboa/core ... copying build/lib.linux-x86_64-2.7/xboa/test/BunchTest.py -> /var/lib/jenkins/jobs/MAUS_rogers/workspace/third_party/install/lib/python2.7/site-packages/xboa/test
Updated by Rogers, Chris over 10 years ago
- Status changed from Open to Rejected