Am 23.10.2013 22:53, schrieb Hok Shun Poon:
> I want to use the same .spec file for building packages for both Mac and 
> Windows.

try Something like this:

import sys
name = "ProjectName"
if sys.platform.startswith('win'):
  name = name + '.exe'


exe = EXE(...
          name=name,



-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Monatliche Kolumne:
http://www.cissp-gefluester.de/2011-11-in-troja-nichts-neues
Blog: http://www.goebel-consult.de/blog/sag-nein-zum-routerzwang

Goebel Consult ist Mitglied bei http://www.7-it.de/

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

Reply via email to