-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
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:
- In general, distutils will honor
--prefix,--exec-prefix, or to try to install to a location under the user's home directory if passed--user; hardcoding/usr/binbypasses all of these behaviors. - In general, distutils will honor the install location for an active virtualenv.
- In general, distutils will fix up the shebang used by any installed script to point to a locally available interpreter.
To fix this:
data_files=[('/usr/bin', ['pyobfuscate'])]
should be replaced with:
scripts=['pyobfuscate']
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels