36 lines
534 B
Markdown
36 lines
534 B
Markdown
# ptpython
|
|
|
|
Installation instruction for ptpython
|
|
|
|
|
|
# Install
|
|
|
|
|
|
## Create Virtualenv
|
|
virtualenv venv
|
|
|
|
|
|
## Install Cutelog
|
|
source venv/bin/activate
|
|
pip install -r requirements.txt
|
|
deactivate
|
|
|
|
|
|
# Open ptpython
|
|
venv/bin/ptpython
|
|
|
|
|
|
# Upgrade
|
|
source venv/bin/activate
|
|
pip install -U -r requirements.txt
|
|
deactivate
|
|
|
|
# Add pylibs to ptpython
|
|
git submodule init
|
|
git submodule update
|
|
cd pylibs
|
|
git submodule init
|
|
git submodule update
|
|
cd ../venv/lib/python3.*/site-packages
|
|
for lib in `ls -d ../../../../pylibs/*/`; do ln -s $lib; done
|