Open charles-dyfis-net opened 7 years ago
I made a fork that fixes this issue: https://github.com/TQwan/pyobfuscate And pull request for the original repository here: https://github.com/astrand/pyobfuscate/pull/20 All the author has to do is click the merge button, since it's compatible with master branch. :wink:
Ticket inspired by http://stackoverflow.com/questions/43600414/error-errno-1-operation-not-permitted-usr-bin-pyobfuscate-macos-sierra/43600504
The
setup.py
for pyobfuscate treats the executable as data. This bypasses several desirable behaviors:--prefix
,--exec-prefix
, or to try to install to a location under the user's home directory if passed--user
; hardcoding/usr/bin
bypasses all of these behaviors.To fix this:
should be replaced with: