[Distutils] current preferred way to specify dependencies? future?
ziade.tarek at gmail.com
Wed Jan 6 17:55:56 CET 2010
On Wed, Jan 6, 2010 at 3:35 PM, John Gabriele <jmg3000 at gmail.com> wrote:
> On Tue, Jan 5, 2010 at 10:44 PM, David Lyon <david.lyon at preisshare.net> wrote:
>> Hi John,
>>> What is expected to be the standard way to do this in the near future?
>> PEP-345 says:
>> > Requires-Dist: pywin32 (>1.0); sys.platform == 'win32'
>> > Obsoletes-Dist: pywin31; sys.platform == 'win32'
>> > Requires-Dist: foo (1,!=1.3); os.machine == 'i386'
>> > Requires-Dist: bar; python_version == '2.4' or python_version == '2.5'
>> > Requires-External: libxslt; 'linux' in sys.platform
>> To me that's really confusing.
> I'm a bit confused myself... PEP-345 says it "describes a mechanism
> for adding metadata to Python packages", but I think they really mean
> "distributions" (the things available at the PyPI).
Yes you are right, that was a mistake. I've just fixed it.
Tarek Ziadé | http://ziade.org
More information about the Distutils-SIG