maphew

Dev & Testing environment

Friday, November 17, 2017

Developers

The extra python modules all developers should have:

pylint
pyflakes
pandoc
pypandoc
twine
wheel
keyring

-----

Matt's Leo Development and Testing Environment

Install Miniconda3

Leo User

pip install leo

Leo Developer

pip install leo[develop]

Leo Git

pushd code\leo-editor
pip install --editable .

deactivate
    # Anaconda recommends deactivating before switching envs

conda create --name leo
activate leo
conda install pip

# this selects Python and other dependencies
cd code\leo-editor
pip install --editable .

# install Leo and all user dependencies
pip uninstall leo

# remove Leo, but leave dependencies behind
conda create --name leo-dev --clone leo
deactivate

activate leo-dev
pip install . leo[develop]

deactivate
conda create --name leo-git --clone leo
activate leo-git
pip install --editable .