[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#743927: Biopython does not define egg metadata



* Andreas Tille <andreas@an3as.eu>, 2014-08-15, 22:42:
On Tue, Apr 08, 2014 at 01:57:38PM +0100, Aidan Delaney wrote:
Python setuptools cannot find the system installed version of biopython as there is no egg-info associated with the package.

According to the build logs, *.egg-info files are indeed installed by the upstream build system, but not included in any binary package.

Fixing this should be a matter of updating *.install files. Please see the attached (untested) patch.

You might also want to pass --fail-missing or --list-missing to dh_install to make sure that Debian packages include all the files that upstream installed.

--
Jakub Wilk
diff -Nru python-biopython-1.64+dfsg/debian/python-biopython.install python-biopython-1.64+dfsg/debian/python-biopython.install
--- python-biopython-1.64+dfsg/debian/python-biopython.install	2014-03-06 11:18:03.000000000 +0100
+++ python-biopython-1.64+dfsg/debian/python-biopython.install	2014-08-15 22:50:26.000000000 +0200
@@ -1 +1,2 @@
 usr/lib/python2*/*-packages/Bio
+usr/lib/python2*/*-packages/biopython-*.egg-info
diff -Nru python-biopython-1.64+dfsg/debian/python3-biopython.install python-biopython-1.64+dfsg/debian/python3-biopython.install
--- python-biopython-1.64+dfsg/debian/python3-biopython.install	2014-03-04 13:36:33.000000000 +0100
+++ python-biopython-1.64+dfsg/debian/python3-biopython.install	2014-08-15 22:50:27.000000000 +0200
@@ -1 +1,2 @@
 usr/lib/python3*/*-packages/Bio
+usr/lib/python3*/*-packages/biopython-*.egg-info

Reply to: