# HG changeset patch # User Emmanuel Gil Peyrot # Date 1383313553 -3600 # Node ID 08d9e6730364021846a46701d0e776ac24e68f51 # Parent bfea9e9a6845715bbe84304dc513b4f46f739c09 Don’t compile useless packages. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def get_arguments(arg, libraries): for directory, _, files in os.walk('pytouhou'): package = directory.replace(os.path.sep, '.') packages.append(package) - if (package == 'pytouhou.formats' or package == 'pytouhou.vm'): + if package not in ('pytouhou.game', 'pytouhou.lib', 'pytouhou.ui', 'pytouhou.utils'): continue if package == 'pytouhou.ui': compile_args = get_arguments('--cflags', ['gl'] + SDL_LIBRARIES)