From a42ebaea74df4fc91793775369a8076f1261eed6 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sat, 3 Nov 2018 12:13:51 -0700 Subject: [PATCH] deploy-ng: Allow platforms to be specified on the command line This makes it easier to build for one platform even if multiple platforms are specified in setup.py/cfg. For example: python setup.py build_apps -p win_amd64 Or, for multiple platforms: python setup.py build_apps -p win32,win_amd64 --- direct/src/showutil/dist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index e5f5ba4551..8668fd4e73 100644 --- a/direct/src/showutil/dist.py +++ b/direct/src/showutil/dist.py @@ -189,6 +189,7 @@ class build_apps(setuptools.Command): user_options = [ ('build-base=', None, 'directory to build applications in'), ('requirements-path=', None, 'path to requirements.txt file for pip'), + ('platforms=', 'p', 'a list of platforms to build for'), ] default_file_handlers = { '.egg': egg2bam,