I just tested this new Chocolatey recipe. It works on my Win7 laptop, but
since it's had many versions of python and related installed it can't be
considered a clean test.

>From a user profile with admin privileges open a command shell and (careful
of linewrap) run the below. It:

 - downloads and installs Chocolately
 - choco installs commandline nuget, x64 python & pyqt4, pip
 - pip installs Leo from github
 - runs Leo

The resulting C:\Python27 tree can be copied elsewhere and Leo (and any of
python) run from there (see last line).

This is all good news. The bad news? The folder is ~235mb.


@powershell -NoProfile -ExecutionPolicy unrestricted ^
   -Command "iex ((new-object net.webclient).DownloadString('
https://chocolatey.org/install.ps1'))"

SET PATH=%PATH%;%systemdrive%\ProgramData\chocolatey\bin
cinst nuget.commandline
cinst pyqt4
cinst pip
pushd C:\Python27\
.\Scripts\pip install
https://github.com/leo-editor/leo-editor/archive/master.zip
popd
move C:\Python27 D:\Python27
pushd D:\Python27
pythonw -c "import leo.core.runLeo; leo.core.runLeo.run()"

------
Leo Log Window
Leo 4.11 final, build 20141011154346, Sat Oct 11 15:43:46 CDT 2014
Not running running from a cloned git repo
Python 2.7.2, PyQt version 4.8.5
Windows 7 AMD64 (build 6.1.7601) SP1
leoID=maphew (in C:\Users\Matt\Dropbox\.leo)
load dir: D:\Python27\lib\site-packages\leo\core
global config dir: D:\Python27\lib\site-packages\leo\config
home dir: C:\Users\Matt\Dropbox
reading settings in D:\Python27\lib\site-packages\leo\config\leoSettings.leo
reading settings in C:\Users\Matt\Dropbox\.leo\myLeoSettings.leo
reading settings in C:\Users\Matt\Dropbox\.leo\workbook.leo
reading: C:\Users\Matt\Dropbox\.leo\workbook.leo
------

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to