Skip to content
Snippets Groups Projects
Commit ffdde793 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA Committed by Moul
Browse files

[mod] #100: Pipenv installation for development:

- with editable trick.
- https://docs.pipenv.org/basics/#editable-dependencies-e-g-e
parent 498a7c4e
No related branches found
No related tags found
1 merge request!80100 pip install
......@@ -10,6 +10,7 @@ tabulate = "*"
scrypt = "*"
pyaes = "*"
PyNaCl = "*"
"e1839a8" = {path = ".", editable = true}
[dev-packages]
......
{
"_meta": {
"hash": {
"sha256": "22ac5bb64561eb08ea075a575e2b957157c4ecf5a04b37eada7331161eebe2e7"
"sha256": "9781db60bd2b394b50555e7bd36ebf96fbd997f7c2ff27bf5fb9f6ab83a58674"
},
"pipfile-spec": 6,
"requires": {
......@@ -56,6 +56,10 @@
"index": "pypi",
"version": "==0.4.1"
},
"e1839a8": {
"editable": true,
"path": "."
},
"ipaddress": {
"hashes": [
"sha256:64b28eec5e78e7510698f6d4da08800a5c575caa4a286c93d651c5d3ff7b6794",
......
......@@ -10,15 +10,17 @@ git clone https://git.duniter.org/clients/python/silkaj.git
cd silkaj
```
### Install dependencies
### Install with dependencies
```bash
pipenv install
pipenv install "-e ."
```
The double quotes are important, if you forget them, `pipenv` will install silkaj from pypi
### Activate pipenv and run silkaj
```bash
pipenv shell
./silkaj
silkaj
```
## Manage Python versions with Pyenv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment