On Tue, 15 Sep 2009 02:00:41 -0700, Tarek Ziadé <ziade.ta...@gmail.com> wrote:

[only_windows]
condition: sys_platform == 'win32'
requires: pywin32

I am ambivalent about using sys.platform. How do I specify Linux?

   >>> sys.platform
   'linux2'

"linux2"? What are the possible values for `sys.platform`? Is it even a well-defined list? What if Linux 3.x comes out .. and the package would stop using the conditional dependent package (that is dependent on 'linux2')?

cf. http://code.google.com/p/platinfo/issues/detail?id=1

-srid

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

Reply via email to