Psyco distutils problem

J

Jeremy Sanders

Hi -

I'm trying to build a Psyco rpm on Fedora 1. I try the command

xpc5:~/psyco-1.1.1> python setup.py bdist_rpm

this fails with:

....
copying dist/psyco-1.1.1.tar.gz -> build/bdist.linux-i686/rpm/SOURCES
building RPMs
rpmbuild -ba --define _topdir /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm --clean build/bdist.linux-i686/rpm/SPECS/psyco.spec
error: File /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm/psyco/psyco-1.1.1.tar.gz: No such file or directory
error: command 'rpmbuild' failed with exit status 1

If I then copy the missing file it fails with

....
+ unset DISPLAY
+ env 'CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686' python setup.py build
Traceback (most recent call last):
File "setup.py", line 83, in ?
execfile(os.path.join(SOURCEDIR, 'files.py'), data)
IOError: [Errno 2] No such file or directory: 'c/files.py'
error: Bad exit status from /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm/tmp/rpm-tmp.23601 (%build)


RPM build errors:
Bad exit status from /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm/tmp/rpm-tmp.23601 (%build)
error: command 'rpmbuild' failed with exit status 1

So it looks like some files aren't being copied. I'm a distutils newbie,
so can someone suggest whether this is a Psyco problem, a Fedora problem,
an RPM problem or what?

Just doing setup.py bdist does actually work.

Thanks

Jeremy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top