minor notes tweaks
This commit is contained in:
parent
64032cace5
commit
cb2326ff72
@ -1,8 +1,8 @@
|
|||||||
omb script
|
omb script
|
||||||
omb2 script
|
omb2 script
|
||||||
make a module
|
make a module
|
||||||
fine in directory, PYTHONPATH ...
|
fine in directory, PYTHONPATH, custom bash ...
|
||||||
need to actually install it
|
need to actually install it
|
||||||
|
|
||||||
aside:
|
aside:
|
||||||
- hitchhiker's guide to packaging
|
- hitchhiker's guide to packaging
|
||||||
@ -12,7 +12,6 @@ python setup.py install
|
|||||||
innards of the setup.py
|
innards of the setup.py
|
||||||
|
|
||||||
python setup.py register
|
python setup.py register
|
||||||
clean up missing fields
|
|
||||||
python setup.py sdist upload
|
python setup.py sdist upload
|
||||||
|
|
||||||
pip freeze
|
pip freeze
|
||||||
@ -20,14 +19,13 @@ pip install
|
|||||||
pip remove
|
pip remove
|
||||||
|
|
||||||
|
|
||||||
example:
|
example from-scratch python:
|
||||||
hg up 2.7
|
hg up 2.7
|
||||||
./configure --prefix=/Users/smcquay/py27
|
./configure --prefix=/Users/smcquay/py27
|
||||||
make -j3
|
make -j3
|
||||||
make install
|
make install
|
||||||
export PATH=~/py27/bin:$PATH
|
export PATH=~/py27/bin:$PATH
|
||||||
|
|
||||||
|
|
||||||
# won't work:
|
# won't work:
|
||||||
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | ~/py27/bin/python
|
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | ~/py27/bin/python
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user