Hello!

Let me to explain the motivation for this patch.  In my company, we
are writing several webapps using Pylons, and we use several common JS
and CSS files.

Instead of being replicating the job copying and maintaining the files
in all applications, we are packaged some files into Python packages
(by example jQuery or jQuery UI).  These packages provides us its root
path and we use the Cascade mechanism for serving the static files.
Then if jQuery releases, we just package the release and let pip to
upgrade in all applications.

The trouble is when the application is in production where we combine
and minify the CSS and Javascript files.  This happens because, the
minification helper uses only the config['pylons.paths']
['static_files'] value and the packaged files aren't in that location.

Then, I've cooked a patch in order to look up the files in another
config['pylons.path'] key.

I would like to be included in Webhelpers (if possible), and I will
appreciate the feedback, and I will do the modifications needed in
order to be included :)

http://pastebin.com/nWWqPdrj

Thanks you!
Néstor

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to