compress_resources


Attributes

a shrinksafe_url

'http://alex.dojotoolkit.org/shrinksafe/shrinksafe.php'

a sub_commands

[]

a long_description

'hey there\n\nyou \n'

a user_options

[('resource-dirs=', 'r', 'Relative directory where resources are located'),
 ('resource-files=',
  None,
  'Filenames to include (in order they should be included)'),
 ('combined-name=', None, 'Names of combined files'),
 ('extensions=', None, 'Extensions to compress (default .js and .css)'),
 ('compress-js', None, 'Compress Javascript using ShrinkSafe'),
 ('example-settings', None, 'Put some example settings in setup.cfg')]

a comment_styles

{'.js': '/* From %(filename)s: */', '.css': '/* From %(filename)s: */'}

a description

'Compress Javascript and CSS files into smaller/combined forms'

a boolean_options

['compress-js', 'example-settings']

a http_boundary

'----0.9468501629550.323031054976'

Methods

f initialize_options(self) ...

f finalize_options(self) ...

f __init__(self, dist) ...

Create and initialize a new Command object. Most importantly, invokes the 'initialize_options()' method, which is the real initializer and depends on the actual command being instantiated.

f run(self) ...

f compress_dir(self, dir, ext) ...

f compress_javascript(self, content) ...

f submit_file_upload(self, url, fields) ...

f run_example_settings(self) ...

See the source for more information.