2
0
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:
Ryan Heuser 2020-08-30 19:41:24 +01:00 committed by GitHub
commit e22f41c86f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ dbm.*
.vscode/ .vscode/
.vscode/settings.json .vscode/settings.json
lib lib
*.venv

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.7.3

View File

@ -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
View 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