mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-16 00:12:48 +00:00
Merge pull request #20 from mcataford/python-version-tooling
Python version tooling
This commit is contained in:
commit
e22f41c86f
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ dbm.*
|
|||||||
.vscode/
|
.vscode/
|
||||||
.vscode/settings.json
|
.vscode/settings.json
|
||||||
lib
|
lib
|
||||||
|
*.venv
|
||||||
|
1
.python-version
Normal file
1
.python-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.7.3
|
@ -91,7 +91,7 @@ The usual installation:
|
|||||||
```
|
```
|
||||||
git clone https://github.com/quadrismegistus/Komrade.git
|
git clone https://github.com/quadrismegistus/Komrade.git
|
||||||
cd Komrade
|
cd Komrade
|
||||||
pip install -r requirements.txt
|
. script/bootstrap
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run the client:
|
Then run the client:
|
||||||
|
10
script/bootstrap
Normal file
10
script/bootstrap
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pyenv install --skip-existing
|
||||||
|
|
||||||
|
VENV="${PWD##*/}.venv"
|
||||||
|
VENV=${VENV#-}
|
||||||
|
python -m venv $VENV
|
||||||
|
. $VENV/bin/activate
|
||||||
|
python -m pip install -U pip wheel
|
||||||
|
python -m pip install -r requirements.txt
|
Loading…
Reference in New Issue
Block a user