@@ -51,17 +51,19 @@ The installer takes care of installing them for you.
5151
5252If you have downloaded the source code:
5353
54- python setup.py install
54+ ``` bash
55+ python setup.py install
56+ ```
5557
5658or if you want to obtain a copy from the Pypi repository:
5759
58- pip install GitPython
60+ ``` bash
61+ pip install GitPython
62+ ```
5963
6064Both commands will install the required package dependencies.
6165
62- A distribution package can be obtained for manual installation at:
63-
64- http://pypi.python.org/pypi/GitPython
66+ A distribution package can be obtained for manual installation at: < http://pypi.python.org/pypi/GitPython > .
6567
6668If you like to clone from source, you can do it like so:
6769
@@ -157,15 +159,15 @@ tarballs.
157159This script shows how to verify the tarball was indeed created by the authors of
158160this project:
159161
160- ```
162+ ``` bash
161163curl https://files.pythonhosted.org/packages/09/bc/ae32e07e89cc25b9e5c793d19a1e5454d30a8e37d95040991160f942519e/GitPython-3.1.8-py3-none-any.whl > gitpython.whl
162164curl https://files.pythonhosted.org/packages/09/bc/ae32e07e89cc25b9e5c793d19a1e5454d30a8e37d95040991160f942519e/GitPython-3.1.8-py3-none-any.whl.asc > gitpython-signature.asc
163165gpg --verify gitpython-signature.asc gitpython.whl
164166```
165167
166168which outputs
167169
168- ```
170+ ``` bash
169171gpg: Signature made Fr 4 Sep 10:04:50 2020 CST
170172gpg: using RSA key 27C50E7F590947D7273A741E85194C08421980C9
171173gpg: Good signature from " Sebastian Thiel (YubiKey USB-C) <byronimo@gmail.com>" [ultimate]
@@ -175,19 +177,19 @@ gpg: aka "Sebastian Thiel (In Rust I trust) <sebastian.thiel@icl
175177You can verify that the keyid indeed matches the release-signature key provided in this
176178repository by looking at the keys details:
177179
178- ```
180+ ``` bash
179181gpg --list-packets ./release-verification-key.asc
180182```
181183
182184You can verify that the commit adding it was also signed by it using:
183185
184- ```
186+ ``` bash
185187git show --show-signature ./release-verification-key.asc
186188```
187189
188190If you would like to trust it permanently, you can import and sign it:
189191
190- ```
192+ ``` bash
191193gpg --import ./release-verification-key.asc
192194gpg --edit-key 4C08421980C9
193195
0 commit comments