Update Py-Scrypt installation instructions for MSYS2
modified: Install-MMGen-on-Microsoft-Windows.md modified: Test-Suite.md
parent
e3adfd1bdf
commit
5e3a3caa04
2 changed files with 5 additions and 17 deletions
|
|
@ -262,27 +262,15 @@ Thanks to a faulty implementation of the `scrypt` function included in Python’
|
|||
password hashing, i.e. hash presets greater than `3`. Installing the package is
|
||||
therefore highly recommended.
|
||||
|
||||
On your online machine, clone the Py-Scrypt source repository:
|
||||
On your online machine, clone the Py-Scrypt repository from Github:
|
||||
|
||||
```text
|
||||
$ git clone https://github.com/holgern/py-scrypt.git
|
||||
```
|
||||
|
||||
Copy the cloned repo to your offline machine.
|
||||
For offline installs, copy the cloned repo to your offline machine.
|
||||
|
||||
Enter the repo root and edit the file ‘setup.py’, adding the following lines
|
||||
before the line beginning with `elif sys.platform.startswith('win32'):`, making
|
||||
sure to preserve indentation:
|
||||
|
||||
```python
|
||||
elif os.environ.get('MSYSTEM') == 'UCRT64':
|
||||
define_macros = []
|
||||
includes = []
|
||||
libraries = ['crypto']
|
||||
CFLAGS.append('-O2')
|
||||
```
|
||||
|
||||
Save ‘setup.py’. Now build and install:
|
||||
Build and install:
|
||||
|
||||
```text
|
||||
$ cd py-scrypt
|
||||
|
|
@ -452,7 +440,7 @@ continue from the `git checkout stable_msys2` step.
|
|||
[di]: Deprecated-MSWin-Installation
|
||||
[ib]: Install-Bitcoind
|
||||
[gs]: Getting-Started-with-MMGen
|
||||
[pl]: Altcoin-and-Forkcoin-Support#a_oe
|
||||
[pl]: Altcoin-and-Forkcoin-Support#a_ed
|
||||
[ax]: command-help-autosign
|
||||
[mc]: Altcoin-and-Forkcoin-Support#a_xmr
|
||||
[ts]: Test-Suite
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@ commands’ output on the screen as they’re being run.
|
|||
[ad]: https://download.bitcoinabc.org/
|
||||
[cnd]: https://bitcoincashnode.org/
|
||||
[ld]: https://download.litecoin.org/litecoin-0.17.1/
|
||||
[oe]: Altcoin-and-Forkcoin-Support#a_oe
|
||||
[oe]: Altcoin-and-Forkcoin-Support#a_ed
|
||||
[sc]: Altcoin-and-Forkcoin-Support#a_dt
|
||||
[xr]: Altcoin-and-Forkcoin-Support#a_xmr_req
|
||||
[oz]: https://github.com/openethereum/openethereum/releases/tag/v3.1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue