On Tue, 18 Aug 2009 05:11:28 +0300, Alex Grönholm
<alex.gronh...@nextday.fi> wrote:

> How would you declare dependencies? Remember that the list of 
> dependencies depends on at least two variables: Python version and
> platform.

hmm.. they're the most important of all...

Perphaps...

"""
[setup]
name: foo
version: 1.0
author: tarek
long_description: some
  long description
  here

url: http://example.com

[dependencies]
dependency1=numpy,>X.Y
dependency2=lxml,E.F

[dependency_linux2_python2.5]
dependency1=gtkwinhelper,>S.T

[dependency_mac_python2.4]
dependency1=hotplug
"""

The operating system name should match one of the
os.name() or sys.platform() functions.. 

David

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to