On Sep 28, 2010, at 6:43 AM, Kurt Schwehr wrote: > Hi Daniel and python packagers, > > > I've added distribute to py2[4-7], given it a Provides setuptools, and > Conflicts > > setuptools. > > If your package depends or builddepends on setuptools, please test it with > distribute. > > -kurt > (goatbar) > > ----- Original Message ---- > Sent: Tue, September 21, 2010 10:08:19 AM > Subject: Replace setuptools-py with distribute-py? > > I'm running into a problem packaging python packages that require distribute > instead of setuptools. To make matters worse, they will automatically > download > distribute and try to replace an already installed setuptools! This seems to > be > becoming common in the Python world. Fortunately, --build-as-nobody catches > this, but it also makes the packages uninstallable except on py31. Distribute > is > > fully backward compatible with setuptools, so this shouldn't break anything, > and > > in any case, setuptools is generally considered deprecated. > > Now there are a few packages that have a versioned BuildDepends on > setuptools-py, so simply relying on Provides: setuptools-py%type_pkg[python] > won't work unless we change those to unversioned BuildDepends. The other > possibility is to make an empty dummy setuptools-py%type_pkg[python] package > that simply Depends on distribute (and add 2.5, 2.6 and 2.7 types). That > would > be the least work. > > Thanks > > Daniel > > >
Ok, the problem is that distribute-py installs a file called setuptools-0.6c11-py2.7.egg-info while setuptools has a directory there. dpkg won't replace a directory with a file. Daniel ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel