Conversation
I believe this is already in named |
I don't see |
Ok. |
This was previously rejected: #7899 Though I don't know if things have changed, or if this formula works around the problem. |
That formula looked like it was rejected because it required sudo. This one doesn't. |
How about this? The only thing I'm not sure about is how to clean up the custom symlinks in |
Just tried this formula and got
Probably I have installed closure linter before but something got corrupted... |
Yep, that's the issue I was referring to with For now if you manually remove that file it will work. |
"--install-scripts=#{bin}" | ||
site_packages = "#{HOMEBREW_PREFIX}/lib/#{which_python}/site-packages/" | ||
File.symlink libexec+'python_gflags-2.0-py2.7.egg', site_packages+'python_gflags-2.0-py2.7.egg' | ||
File.symlink libexec+'closure_linter-2.3.5-py2.7.egg', site_packages+'closure_linter-2.3.5-py2.7.egg' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you define site_packages
as "#{lib}/#{which_python}/site-packages/", then they will be linked into the top-level but also cleaned up on uninstallation.
Please squash to a single commit for review |
Needs to be Python version agnostic (can't assume Homebrew Python, needs to work with 2.6 or 2.7 depending on OS X version). Will accept an updated version for review. |
Add Google's javascript lint utility.