add the option to use choco to install on windows

This commit is contained in:
Cheng Zhang 2016-07-10 15:48:34 -04:00
parent 3b2b82c2cb
commit e5c606503c

View File

@ -43,7 +43,7 @@ Are you a Python programmer? Then check out [the source](https://github.com/soim
### Prerequisites ### 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/)** * **[Python 3](https://www.python.org/downloads/)**
* **[FFmpeg](https://www.ffmpeg.org/)** (strongly recommended) or [Libav](https://libav.org/) * **[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 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: <https://github.com/soimort/you-get/releases/latest>. Download the `exe` (standalone) or `7z` (all dependencies included) from: <https://github.com/soimort/you-get/releases/latest>.
### 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`. 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. 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. 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. 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: 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 $ 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: In order to get the latest ```develop``` branch without messing up the PIP, you can try:
``` ```