From: W. Trevor King Date: Thu, 24 Jan 2013 03:12:59 +0000 (-0500) Subject: setup.py: Mention Jinja and CherryPy as requirements X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d25e16bc419bc79951ada399b49223bef035cb6;p=be.git setup.py: Mention Jinja and CherryPy as requirements Unfortunately, none of the current Python installation tools (easy_install, pip, others?) actaully use the `Requires` field that this populates [1,2], and it's gone since PEP 345, replaced by `Requires-Dist` [2,3,4]. Eventually a new packaging library (distutils2, packaging, distlib, ...) will land in the Python standard library and we can use whatever interface it provides for specifying dependencies [5]. [1]: http://blog.doughellmann.com/2007/11/requiring-packages-with-distutils.html [2]: http://ziade.org/2010/02/10/pep-345-and-386-accepted-summary-of-changes/ [3]: http://www.python.org/dev/peps/pep-0345/#requires-dist-multiple-use [4]: http://www.python.org/dev/peps/pep-0426/#requires-dist-multiple-use [5]: http://ncoghlan_devs-python-notes.readthedocs.org/en/latest/pep_ideas/core_packaging_api.html --- diff --git a/setup.py b/setup.py index cd49bf0..31d6551 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,6 @@ setup( 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Bug Tracking', ], - packages=['libbe', 'libbe.command', 'libbe.storage', @@ -58,4 +57,8 @@ setup( 'libbe.util'], scripts=['be'], data_files=data_files, + requires=[ + 'Jinja2 (>=2.6)', + 'CherryPy (>=3.2)', + ] )