Skip to content

Commit 2d392b0

Browse files
author
Beau Shinkle
committed
Suggest pyenv to manage python
1 parent 1562620 commit 2d392b0

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10.9

README.adoc

+7-6
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,19 @@ about the design, see link:docs/rfc/rfc-1.adoc[RFC 1: tBTCv2 Design].
7272
git config --global url."https://".insteadOf git://
7373
```
7474

75-
* python v3.X. Must have a `python` binary pointing to version 3.X, not just an
76-
alias (for `node-gyp`). On osx, this did the trick:
75+
* Python 3.11.1 for `node-gyp`. It is
76+
https://opensource.com/article/19/5/python-3-default-mac[suggested] to use
77+
`pyenv` to manage multiple Python versions.
7778
```
78-
brew install python
79-
sudo ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python
79+
brew install pyenv
80+
pyenv install 3.11.1
8081
```
8182

8283
=== Install and Test Contracts
8384

8485
```
8586
cd solidity
86-
yarn install
87+
yarn install --frozen-lockfile
8788
yarn build
8889
yarn test
8990
yarn test:integration
@@ -93,7 +94,7 @@ yarn test:integration
9394

9495
```
9596
cd typescript
96-
yarn install
97+
yarn install --frozen-lockfile
9798
yarn build
9899
yarn test
99100
```

0 commit comments

Comments
 (0)