Hi Francesc, hi Ivan,
I encountered a problem trying to build the RPM package for PyTables 1.1:
$ python setup.py bdist_rpm
[...]
building RPMs
[...]
+ env 'CFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32
-march=i386 -mtune=pentium4 -fasynchronous-unwind-tables' python setup.py
build
Found numarray 1.3.3 package installed
Traceback (most recent call last):
File "setup.py", line 46, in ?
VERSION = open('VERSION').read().strip()
IOError: [Errno 2] No such file or directory: 'VERSION'
error: Bad exit status from /var/tmp/rpm-tmp.16679 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.16679 (%build)
error: command 'rpmbuild' failed with exit status 1
$
I solved it by adding VERSION in the MANIFEST.in file but I'm but an expert in
this kind of questions so may be this is not the bast way to fix the problem.
ciao
P.S. I'm running Fedora Core 4
--
Antonio Valentino
Consorzio Innova
via della Scienza - Zona Paip I
75100 Matera (MT) Italy
|