From e5c606503cbeb67656155695155da15c91f2d7fe Mon Sep 17 00:00:00 2001 From: Cheng Zhang <13501393281@163.com> Date: Sun, 10 Jul 2016 15:48:34 -0400 Subject: [PATCH] add the option to use choco to install on windows --- README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aa7f61a0..73af5dc3 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Are you a Python programmer? Then check out [the source](https://github.com/soim ### Prerequisites -The following dependencies are required and must be installed separately, unless you are using a pre-built package on Windows: +The following dependencies are required and must be installed separately, unless you are using a pre-built package or chocolatey on Windows: * **[Python 3](https://www.python.org/downloads/)** * **[FFmpeg](https://www.ffmpeg.org/)** (strongly recommended) or [Libav](https://libav.org/) @@ -61,11 +61,19 @@ Add the following line to your `.zshrc`: antigen bundle soimort/you-get -### Option 3: Use a pre-built package (Windows only) +### Option 3: Using [Chocolatey](https://chocolatey.org/) (Windows only) + + choco install you-get + +The chocolatey package source can be found [here](https://github.com/chantisnake/you-get-choco) + +The chocolatey package page can be found [here](https://chocolatey.org/packages/you-get/0.4.486) + +### Option 4: Use a pre-built package (Windows only) Download the `exe` (standalone) or `7z` (all dependencies included) from: . -### Option 4: Download from GitHub +### Option 5: Download from GitHub You may either download the [stable](https://github.com/soimort/you-get/archive/master.zip) (identical with the latest release on PyPI) or the [develop](https://github.com/soimort/you-get/archive/develop.zip) (more hotfixes, unstable features) branch of `you-get`. Unzip it, and put the directory containing the `you-get` script into your `PATH`. @@ -83,7 +91,7 @@ $ python3 setup.py install --user to install `you-get` to a permanent path. -### Option 5: Git clone +### Option6: Git clone This is the recommended way for all developers, even if you don't often code in Python. @@ -93,7 +101,7 @@ $ git clone git://github.com/soimort/you-get.git Then put the cloned directory into your `PATH`, or run `./setup.py install` to install `you-get` to a permanent path. -### Option 6: Homebrew (Mac only) +### Option 7: Homebrew (Mac only) You can install `you-get` easily via: @@ -119,6 +127,12 @@ or download the latest release via: $ you-get https://github.com/soimort/you-get/archive/master.zip ``` +or use [chocolatey package manager](https://chocolatey.org): + +``` +> choco upgrade you-get +``` + In order to get the latest ```develop``` branch without messing up the PIP, you can try: ```