Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7653 > unrolled thread
| Started by | Andreas Tille <andreas@an3as.eu> |
|---|---|
| First post | 2015-10-13 22:40 +0200 |
| Last post | 2015-10-14 15:40 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.maint.python
Python-pyvcf: Couldn't find index page for 'distribute' (maybe misspelled?) Andreas Tille <andreas@an3as.eu> - 2015-10-13 22:40 +0200
Re: Python-pyvcf: Couldn't find index page for 'distribute' (maybe misspelled?) Piotr Ożarowski <piotr@debian.org> - 2015-10-13 23:50 +0200
Re: Python-pyvcf: Couldn't find index page for 'distribute' (maybe misspelled?) Andreas Tille <andreas@an3as.eu> - 2015-10-14 15:40 +0200
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2015-10-13 22:40 +0200 |
| Subject | Python-pyvcf: Couldn't find index page for 'distribute' (maybe misspelled?) |
| Message-ID | <qjewx-LU-1@gated-at.bofh.it> |
Hi,
I'd like to package
svn://anonscm.debian.org/debian-med/trunk/packages/python-pyvcf/trunk/
for the Debian Med team but was running into
...
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py test.
running test
Searching for distribute
Reading https://pypi.python.org/simple/distribute/
Download error on https://pypi.python.org/simple/distribute/: [Errno 111] Connection refused -- Some packages may not be found!
Couldn't find index page for 'distribute' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 111] Connection refused -- Some packages may not be found!
No local packages or download links found for distribute
error: Could not find suitable distribution for Requirement.parse('distribute')
E: pybuild pybuild:262: test: plugin distutils failed with: exit code=1: python2.7 setup.py test.
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
debian/rules:10: recipe for target 'build' failed
...
I assumed distribute would be covered by python-setuptools Build-Depends
but that's obviously wrong. Any hint would be welcome.
Kind regards
Andreas.
--
http://fam-tille.de
[toc] | [next] | [standalone]
| From | Piotr Ożarowski <piotr@debian.org> |
|---|---|
| Date | 2015-10-13 23:50 +0200 |
| Message-ID | <qjfCj-2k3-15@gated-at.bofh.it> |
| In reply to | #7653 |
[Andreas Tille, 2015-10-13]
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:170: python2.7 setup.py test.
> running test
> Searching for distribute
> Reading https://pypi.python.org/simple/distribute/
> Download error on https://pypi.python.org/simple/distribute/: [Errno 111] Connection refused -- Some packages may not be found!
> Couldn't find index page for 'distribute' (maybe misspelled?)
patch setup.py to use setuptools instead of distribute and add
python{3,}-setuptools to Build-Depends
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
[toc] | [prev] | [next] | [standalone]
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Date | 2015-10-14 15:40 +0200 |
| Message-ID | <qjurD-8nB-7@gated-at.bofh.it> |
| In reply to | #7657 |
Hi,
On Tue, Oct 13, 2015 at 11:42:57PM +0200, Piotr Ożarowski wrote:
> > Searching for distribute
> > Reading https://pypi.python.org/simple/distribute/
> > Download error on https://pypi.python.org/simple/distribute/: [Errno 111] Connection refused -- Some packages may not be found!
> > Couldn't find index page for 'distribute' (maybe misspelled?)
>
> patch setup.py to use setuptools instead of distribute and add
> python{3,}-setuptools to Build-Depends
Thanks for the hint which was really helpful. Since setup.py is also
triggering a test suite I recreated the test data from upstream Git
and moved the packaging from Debian Med SVN to Git to simplify fetching
the new source tarball for others:
git://anonscm.debian.org/debian-med/python-pyvcf.git
While the build works fine now and the tests are running without any
error I would like to be able to trigger the tests for the installed
modules. I wonder what I need to do rebuild what setup.py is creating
from
test_suite='vcf.test.test_vcf.suite',
Kind regards
Andreas.
--
http://fam-tille.de
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web