Command Line Options

The pymixup.py program can be run from the command line. For example, to obfuscate the project specified in common/settings.py, enter:

$ python pymixup.py

However, fabric files have been setup to automate a lot of the file copying. It’s more convenient to use the fabric tasks than running pymixup.py from the command line. See Steps to Obfuscate a Project for details on running the fabric tasks.

Parameters

All parameters must be preceded by a double dash. Some parameter may use a supplied value (as in the brackets (<>) below).

platform <platform name>
  • The destination platform.

  • This will be used to apply the platform directives.

  • Optional.

  • Example:

    $ python pymixup.py --platform android
    
norebuild
  • Do not rebuild the identifiers and reserved name tables.

  • If specified, existing obfuscated identifiers and reserved names will retain their prior randomized names. New identifiers and reserved names may be be added.

  • Default is to rebuild tables.

  • Example:

    $ python pymixup.py --norebuild
    
verbose
  • Print verbose messages.

  • Optional.

  • Example:

    $ python pymixup.py --verbose
    
doimport
  • Import source files before obfuscating.

  • Optional.

  • Example:

    $ python pymixup.py --doimport
    

Fabric automated tasks

The import, obfuscate, export, and deploy tasks are automated using Fabric. See Steps to Obfuscate a Project for a description of their use.