Skip to content

Commit

Permalink
Add installation instructions in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Feb 14, 2021
1 parent 2f0b0ed commit 0b713ec
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "python-launcher"
description = "The Python launcher for Unix"
version = "0.14.0"
version = "0.14.1"
authors = ["Brett Cannon <brett@python.org>"]
repository = "https://github.com/brettcannon/python-launcher"
readme = "README.md"
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,25 @@ some time.

See the top section of `py --help` for instructions.

## Installation

You can either install from [crates.io](https://crates.io/) or from source.
Both approaches require you install the Rust toolchain. You can use
[rustup](https://rustup.rs/) to accomplish this or whatever your OS suggests.

If you want to
[install from crates.io](https://crates.io/crates/python-launcher), run:

```shell
cargo install python-launcher
```

If you want to install from source, run:

```shell
cargo install --path .
```

## Search order

Please note that while searching, the search for a Python version can become
Expand Down

0 comments on commit 0b713ec

Please sign in to comment.