moving to new thread: Towards a portable Leo, with chocolate

On Sat, Oct 11, 2014 at 11:27 PM, Matt Wilkie <[email protected]> wrote:

>
> On Sat, Oct 11, 2014 at 10:59 PM, Matt Wilkie <[email protected]> wrote:
>
>> Experiment B: using Chocolatey (https://chocolatey.org/). My notes...
>>
>
> Note: last tested several months ago.  Pip and setuptools have seen a lot
> of changes this year, install is smoother now. Same for Chocolatey. I
> stopped following this path because there is (was?) so much package churn
> and the installing of python twice, in different locations, turned me off.
> Also *"Until we have package moderation in place, the answer is that you
> can't trust the packages here."* (but you can use your own repo). It has
> a lot of attention though, even from Microsoft
> <http://blogs.technet.com/b/windowsserver/archive/2014/04/03/windows-management-framework-v5-preview.aspx>.
>
>
> Installing Leo with Chocolatey
>
> An automatable method to download and install the Leo Editor and all
> prerequisites on Windows.
> Pre-requsites
>
> Dotnet v4 -
> http://www.microsoft.com/en-us/download/confirmation.aspx?id=17851
> Powershell
> recipe
>
> Use powershell to download and install Chocolatey.
>
> @powershell -NoProfile -ExecutionPolicy unrestricted
>   iex ((new-object 
> net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
> exit
> SET PATH=%PATH%;%systemdrive%\apps\chocolatey\bin
>
> cinst nuget.commandline
>
> Install PyQt4 and 32bit python
>
> cinst python.x86
>
> cinst pyqt4
> :: argh! this installs yet another 32bit python package? Stupid thing.
>
> Download Setuptools and get-pip.py
>
> @powershell -NoProfile -ExecutionPolicy unrestricted
>   $source = "https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py";
>   $destination = "ez_setup.py"
>   $wc = New-Object System.Net.WebClient
>   $wc.DownloadFile($source, $destination)
>
>   $source = "https://raw.github.com/pypa/pip/master/contrib/get-pip.py";
>   $destination = "get-pip.py"
>   $wc = New-Object System.Net.WebClient
>   $wc.DownloadFile($source, $destination)
>
> exit
>
> Open a new command shell so python is in path, or use full path name
>
> c:\python27\python ez_setup.py
> c:\python27\python get-pip.py
>
> And now finally install Leo Editor
>
> pip install leo
>
> Yay! it works :)
>
>

-- 
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