docutils dependency problem in version.py

Ben Finney ben+python at benfinney.id.au
Mon Jan 12 21:36:51 UTC 2015


On 12-Jan-2015, Chet Burgess wrote:

> Further there is a catch-22 in that you can’t process and install
> the dependencies from setup.py because it depends on loading
> version.py, which then requires docutils.

That's only a catch-22 if using the package's own ‘setup.py’ to
install its dependencies. But installing dependencies is not normally
done that way, in part because that catch-22 is common.

> I’m not entirely sure what the pythonic way of fixing this is.

The correct fix (already in VCS and waiting for another version to be
released) is to declare the dependency, upload a new distribution to
PyPI, and then PyPI has the metadata available for package installers.
Those package installers then know to install the dependencies before
beginning with ‘python-daemon’'s install.

My thanks to those reporting this omission.

-- 
 \        “My doctor told me to stop having intimate dinners for four. |
  `\               Unless there are three other people.” —Orson Welles |
_o__)                                                                  |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-daemon-devel/attachments/20150113/4f2d089f/attachment.sig>


More information about the python-daemon-devel mailing list