Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7330
| From | Julien Puydt <julien.puydt@laposte.net> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: How does python:Depends work? |
| Date | 2015-09-28 11:30 +0200 |
| Message-ID | <qdCUX-1DD-31@gated-at.bofh.it> (permalink) |
| References | <qdBm9-7It-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, Le 28/09/2015 09:44, Julien Puydt a écrit : > I'm wondering how the python:Depends substitution actually works, since > it looks like it doesn't in some of my recent packages : what was I supposed > to do that I didn't? The reason why it wasn't working, was that in setup.py, setuptools was activated only conditionally. That in itself isn't a problem. But when not activated (hence using distutils), it was feeding setuptools' setup arguments to distutils' setup. And that is quite wrong, because what is "install_requires" for one is "requires" for the other! So the solution was just : -install_requires = setuptools_args['install_requires'] = [ +setup_args['requires'] = setuptools_args['install_requires'] = [ which I put in a proper Debian patch, and forwarded upstream (which was traitlets... part of the Jupyter project where I'm sure I'll have to report the same for at least half of the packages!). Thanks, Snark on #debian-python
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar
How does python:Depends work? Julien Puydt <julien.puydt@laposte.net> - 2015-09-28 09:50 +0200 Re: How does python:Depends work? Piotr Ożarowski <piotr@debian.org> - 2015-09-28 10:10 +0200 Re: How does python:Depends work? Julien Cristau <julien.cristau@logilab.fr> - 2015-09-28 10:10 +0200 Re: How does python:Depends work? Julien Puydt <julien.puydt@laposte.net> - 2015-09-28 11:30 +0200
csiph-web