Bump dates/versions
This commit is contained in:
parent
79092f4036
commit
a619aed25c
24
README.md
24
README.md
|
@ -272,24 +272,24 @@ a command like `type python3` should tell you where it is installed on your syst
|
||||||
zcash-gitian$ type python3
|
zcash-gitian$ type python3
|
||||||
python3 is /usr/local/bin/python3
|
python3 is /usr/local/bin/python3
|
||||||
zcash-gitian$ /usr/local/python3 --version
|
zcash-gitian$ /usr/local/python3 --version
|
||||||
Python 3.7.2
|
Python 3.7.3
|
||||||
```
|
```
|
||||||
|
|
||||||
We can use python's built-in `venv` module to create a virtual environment:
|
We can use python's built-in `venv` module to create a virtual environment:
|
||||||
|
|
||||||
```
|
```
|
||||||
zcash-gitian$ /usr/local/bin/python3 -m venv local/python_v3.7.2_venv
|
zcash-gitian$ /usr/local/bin/python3 -m venv local/python_v3.7.3_venv
|
||||||
```
|
```
|
||||||
|
|
||||||
Translation: "Create a virtual environment at ./local/python_v3.7.2_venv".
|
Translation: "Create a virtual environment at ./local/python_v3.7.3_venv".
|
||||||
|
|
||||||
The project subdirectory `local` is `.gitignored` to provide a convenient location for files we
|
The project subdirectory `local` is `.gitignored` to provide a convenient location for files we
|
||||||
don't want to commit and track in version control.
|
don't want to commit and track in version control.
|
||||||
|
|
||||||
You should now have a tree of directories and files in `local/python_v3.7.2_venv`:
|
You should now have a tree of directories and files in `local/python_v3.7.3_venv`:
|
||||||
|
|
||||||
```
|
```
|
||||||
zcash-gitian$ ls -F local/python_v3.7.2_venv/
|
zcash-gitian$ ls -F local/python_v3.7.3_venv/
|
||||||
bin/ include/ lib/ pyvenv.cfg
|
bin/ include/ lib/ pyvenv.cfg
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -297,7 +297,7 @@ Inside the `bin` directory, among other things, are the entries `python` and `py
|
||||||
symlinks that point back to the `python3` executable we used to create this environment:
|
symlinks that point back to the `python3` executable we used to create this environment:
|
||||||
|
|
||||||
```
|
```
|
||||||
zcash-gitian$ ls -F local/python_v3.7.2_venv/bin/
|
zcash-gitian$ ls -F local/python_v3.7.3_venv/bin/
|
||||||
activate activate.fish easy_install-3.7* pip3* python@
|
activate activate.fish easy_install-3.7* pip3* python@
|
||||||
activate.csh easy_install* pip* pip3.7* python3@
|
activate.csh easy_install* pip* pip3.7* python3@
|
||||||
```
|
```
|
||||||
|
@ -311,7 +311,7 @@ An `activate` script is provided, and you can use that, but if you're using `dir
|
||||||
a simple automatic activation for the project directory by adding the following line to `.envrc`:
|
a simple automatic activation for the project directory by adding the following line to `.envrc`:
|
||||||
|
|
||||||
```
|
```
|
||||||
load_prefix local/python_v3.7.2_venv
|
load_prefix local/python_v3.7.3_venv
|
||||||
```
|
```
|
||||||
|
|
||||||
The command `load_prefix` is provided by `direnv` to modify a whole set of common "path" variables
|
The command `load_prefix` is provided by `direnv` to modify a whole set of common "path" variables
|
||||||
|
@ -320,7 +320,7 @@ The command `load_prefix` is provided by `direnv` to modify a whole set of commo
|
||||||
Let's add that line now:
|
Let's add that line now:
|
||||||
|
|
||||||
```
|
```
|
||||||
zcash-gitian$ echo "load_prefix local/python_v3.7.2_venv" >> .envrc
|
zcash-gitian$ echo "load_prefix local/python_v3.7.3_venv" >> .envrc
|
||||||
direnv: error .envrc is blocked. Run `direnv allow` to approve its content.
|
direnv: error .envrc is blocked. Run `direnv allow` to approve its content.
|
||||||
zcash-gitian$ direnv allow
|
zcash-gitian$ direnv allow
|
||||||
direnv: loading .envrc
|
direnv: loading .envrc
|
||||||
|
@ -335,11 +335,11 @@ locations we default to:
|
||||||
|
|
||||||
```
|
```
|
||||||
zcash-gitian$ echo $PATH
|
zcash-gitian$ echo $PATH
|
||||||
/Users/harrypotter/Projects/zcash-gitian/local/python_v3.7.2_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
|
/Users/harrypotter/Projects/zcash-gitian/local/python_v3.7.3_venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
|
||||||
zcash-gitian$ type python
|
zcash-gitian$ type python
|
||||||
python is /Users/harrypotter/Projects/zcash-gitian/local/python_v3.7.2_venv/bin/python
|
python is /Users/harrypotter/Projects/zcash-gitian/local/python_v3.7.3_venv/bin/python
|
||||||
zcash-gitian$ type python3
|
zcash-gitian$ type python3
|
||||||
python3 is /Users/harrypotter/Projects/zcash-gitian/local/python_v3.7.2_venv/bin/python3
|
python3 is /Users/harrypotter/Projects/zcash-gitian/local/python_v3.7.3_venv/bin/python3
|
||||||
```
|
```
|
||||||
|
|
||||||
Since the `python` and `python3` commands will now run from the locations we've installed into our
|
Since the `python` and `python3` commands will now run from the locations we've installed into our
|
||||||
|
@ -353,8 +353,6 @@ environment active when using a shell at (or below) that location.
|
||||||
`pip` has a command to upgrade itself. Let's go ahead and run that:
|
`pip` has a command to upgrade itself. Let's go ahead and run that:
|
||||||
|
|
||||||
```
|
```
|
||||||
zcash-gitian$ pip --version
|
|
||||||
pip 18.1 from /Users/harrypotter/Projects/zcash-gitian/local/python_v3.7.2_venv/lib/python3.7/site-packages/pip (python 3.7)
|
|
||||||
zcash-gitian$ pip install --upgrade pip
|
zcash-gitian$ pip install --upgrade pip
|
||||||
Collecting pip
|
Collecting pip
|
||||||
[...]
|
[...]
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
This document assumes you are starting from a fresh install of macOS.
|
This document assumes you are starting from a fresh install of macOS.
|
||||||
|
|
||||||
Most recently tested 2019-03-22 with the following macOS release:
|
Most recently tested 2019-03-30 with the following macOS release:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sw_vers
|
$ sw_vers
|
||||||
ProductName: Mac OS X
|
ProductName: Mac OS X
|
||||||
ProductVersion: 10.14.3
|
ProductVersion: 10.14.4
|
||||||
BuildVersion: 18D109
|
BuildVersion: 18E226
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,11 +18,11 @@ BuildVersion: 18D109
|
||||||
macOS includes git, so you should already have that. It may prompt you to set up developer tools if
|
macOS includes git, so you should already have that. It may prompt you to set up developer tools if
|
||||||
you're using it for the first time.
|
you're using it for the first time.
|
||||||
|
|
||||||
Most recently tested 2019-03-22 with the following git release:
|
Most recently tested 2019-03-30 with the following git release:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git --version
|
$ git --version
|
||||||
git version 2.17.2 (Apple Git-113)
|
git version 2.20.1 (Apple Git-117)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,9 +50,9 @@ Most recently tested 2019-03-22 with the following Homebrew release:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ brew --version
|
$ brew --version
|
||||||
Homebrew 2.0.5
|
Homebrew 2.0.6
|
||||||
Homebrew/homebrew-core (git revision b26ddf; last commit 2019-03-21)
|
Homebrew/homebrew-core (git revision 6abd1; last commit 2019-03-30)
|
||||||
Homebrew/homebrew-cask (git revision 8a0f5; last commit 2019-03-21)
|
Homebrew/homebrew-cask (git revision 7c038; last commit 2019-03-30)
|
||||||
```
|
```
|
||||||
|
|
||||||
That last line about "homebrew-cask" refers to a component that started as a separate plugin and now
|
That last line about "homebrew-cask" refers to a component that started as a separate plugin and now
|
||||||
|
@ -73,7 +73,7 @@ that, the second attempt should succeed.
|
||||||
$ brew cask install virtualbox
|
$ brew cask install virtualbox
|
||||||
```
|
```
|
||||||
|
|
||||||
Most recently tested 2019-03-22 with the following Virtualbox release:
|
Most recently tested 2019-03-30 with the following Virtualbox release:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ virtualbox --help
|
$ virtualbox --help
|
||||||
|
@ -103,11 +103,11 @@ Vagrant 2.2.4
|
||||||
$ brew install gnupg
|
$ brew install gnupg
|
||||||
```
|
```
|
||||||
|
|
||||||
Most recently tested 2019-03-22 with the following GnuPG release:
|
Most recently tested 2019-03-30 with the following GnuPG release:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ gpg --version
|
$ gpg --version
|
||||||
gpg (GnuPG) 2.2.14
|
gpg (GnuPG) 2.2.15
|
||||||
libgcrypt 1.8.4
|
libgcrypt 1.8.4
|
||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
@ -134,11 +134,11 @@ $ type python3
|
||||||
python3 is /usr/local/bin/python3
|
python3 is /usr/local/bin/python3
|
||||||
```
|
```
|
||||||
|
|
||||||
Most recently tested 2019-03-22 with the following Python release:
|
Most recently tested 2019-03-30 with the following Python release:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ python3 --version
|
$ python3 --version
|
||||||
Python 3.7.2
|
Python 3.7.3
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -165,13 +165,13 @@ present:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ echo $PROMPT_COMMAND
|
$ echo $PROMPT_COMMAND
|
||||||
_direnv_hook;
|
_direnv_hook;[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
direnv also supports several other shells -- zsh, fish, tcsh, and elvish as of this writing. Its
|
direnv also supports several other shells -- zsh, fish, tcsh, and elvish as of this writing. Its
|
||||||
website includes instructions for enabling each of the shells it supports.
|
website includes instructions for enabling each of the shells it supports.
|
||||||
|
|
||||||
Most recently tested 2019-03-22 with the following direnv release:
|
Most recently tested 2019-03-30 with the following direnv release:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ direnv --version
|
$ direnv --version
|
||||||
|
|
Loading…
Reference in New Issue