pip install does not install scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-msp430-tools |
Fix Released
|
Medium
|
zsquareplusc |
Bug Description
Using the recommended "future proof" (http://
I've attached a patch that adds the "scripts" option to setup(), causing "python setup.py install" to install the scripts to the currently active python's /bin directory (this is the default for distutils setup). For those using virtualenv (like me!), this allows multiple versions of these packages to be installed simultaneously in different virtualenvs on the same system (in contrast to "make install" with PREFIX and something like GNU Stow).
Basically, I'm trying to advocate the more "pythonic" approach to the script installation that works via the normal dist channels (tar.gz, pypi, etc), instead of requiring someone who installs via pip to have to manually download the tar.gz and install the scripts by hand...
Related branches
- zsquareplusc: Approve
-
Diff: 92 lines (+38/-1)2 files modifiedMANIFEST.in (+12/-0)
setup.py (+26/-1)
Changed in python-msp430-tools: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in python-msp430-tools: | |
status: | Fix Committed → Fix Released |
Please ignore the previous patch. I've added an updated patch that leaves the Make based install "as is" (for those that need to install to PREFIX), but installs the scripts when "python setup.py install" is run.