original notes file
This commit is contained in:
parent
4700222910
commit
64032cace5
40
notes.txt
Normal file
40
notes.txt
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
omb script
|
||||||
|
omb2 script
|
||||||
|
make a module
|
||||||
|
fine in directory, PYTHONPATH ...
|
||||||
|
need to actually install it
|
||||||
|
|
||||||
|
aside:
|
||||||
|
- hitchhiker's guide to packaging
|
||||||
|
- state of packaging
|
||||||
|
|
||||||
|
python setup.py install
|
||||||
|
innards of the setup.py
|
||||||
|
|
||||||
|
python setup.py register
|
||||||
|
clean up missing fields
|
||||||
|
python setup.py sdist upload
|
||||||
|
|
||||||
|
pip freeze
|
||||||
|
pip install
|
||||||
|
pip remove
|
||||||
|
|
||||||
|
|
||||||
|
example:
|
||||||
|
hg up 2.7
|
||||||
|
./configure --prefix=/Users/smcquay/py27
|
||||||
|
make -j3
|
||||||
|
make install
|
||||||
|
export PATH=~/py27/bin:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
# won't work:
|
||||||
|
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | ~/py27/bin/python
|
||||||
|
|
||||||
|
|
||||||
|
# install distribute (for pip):
|
||||||
|
curl -O http://python-distribute.org/distribute_setup.py
|
||||||
|
~/py27/bin/python distribute_setup.py
|
||||||
|
|
||||||
|
# install pip
|
||||||
|
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | ~/py27/bin/python
|
Loading…
Reference in New Issue
Block a user