patch_version: Use sys.platform as the default platform name

The names which sys.platform uses are not well-known across all users (darwin
for macOS for example), so this doesn't change the values used in the packaging
scripts.
This commit is contained in:
Wieland Hoffmann
2017-05-01 14:30:10 +02:00
parent e6fcbc077e
commit 399993fef2

View File

@@ -577,7 +577,7 @@ class picard_patch_version(Command):
]
def initialize_options(self):
self.platform = 'unknown'
self.platform = sys.platform
def finalize_options(self):
pass