[PEAK] bdist_rpm and setuptools

John Landahl john at landahl.org
Wed Apr 28 15:40:54 EDT 2004

John Landahl wrote:

> FYI, bdist_rpm doesn't seem to work anymore because of a missing 
> setuptools.  I'm guessing it needs to be in MANIFEST.in.

Hmm, it *is* in MANIFEST.in.  Nevertheless it doesn't get copied to the 
rpm BUILD directory.  Here's the related output from distutils:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.48859
+ umask 022
+ cd /home/jlandahl/PEAK/build/bdist.linux-i686/rpm/BUILD
+ cd PEAK-20040428
+ export LANG
+ env 'CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686' python setup.py build
Traceback (most recent call last):
  File "setup.py", line 5, in ?
    from setuptools import setup, Extension, Feature, find_packages
ImportError: No module named setuptools
error: Bad exit status from /var/tmp/rpm-tmp.48859 (%build)

We do periodic releases of PEAK using the date as a version tag, hence 
the .../BUILD/PEAK-20040428 directory.  Here's a list of its contents:

CHANGES.txt  examples/     HISTORY.txt  PKG-INFO    scripts/   
setup.py*  STATUS.txt
docs/        FEATURES.txt  INSTALL.txt  README.txt  setup.cfg  
src/       TODO.txt

No setuptools...

More information about the PEAK mailing list