bdist_rpm causes traceback looking for a non-existant file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[ipython-0.10]$ python2.6 -i setup.py bdist_rpm
Traceback (most recent call last):
File "setup.py", line 146, in <module>
[ target_update(*t) for t in to_update ]
File "/var/tmp/
if target_
File "/var/tmp/
dep_time = os.path.
File "/usr/lib/
return os.stat(
OSError: [Errno 2] No such file or directory: 'docs/man/
...
(Pdb) to_update
[('docs/
...
[ipython-0.10]$ ls -A docs/man/
ipcluster.1.gz ipcontroller.1.gz ipengine.1.gz ipython.1.gz ipython-wx.1.gz ipythonx.1.gz irunner.1.gz pycolor.1.gz
It's looking for the non-gz'd versions of the files which don't exist in the tarball ipython-0.10.tar.gz which I downloaded today.
I do see there is a FIXME in setup.py saying something is disabled, but it appears to be referencing the generation of docs from a tex file.
I'm running this on a CentOS 5 install with python 2.6.2 installed along side the 'native' 2.4.3, attempting to get a source rpm so I can customize and distribute it.
Changed in ipython: | |
status: | New → Confirmed |
I am experiencing the same issue (Centos 5.1 x64, using Python 2.5.2 and GCC 4.4.3), but bypassing this issue as follows:
tar xzvf ipython-0.10.tar.gz
cd ipython-0.10/
gzip -d docs/man/*
python2.5 setup.py bdist_rpm
The rpmbuild still fails though with the following error:
Traceback (most recent call last):
File "setup.py", line 35, in <module>
from setupbase import (
ImportError: No module named setupbase
Running "python2.5 setup.py install" works, but to get ipython running without errors I still have to do the following first:
mkdir -p /root/.ipython/ ipython/ ipythonrc
touch /root/.