Use direnv to setup virtualenv
This commit is contained in:
parent
7e82b64fc5
commit
d9185b5eec
|
@ -0,0 +1,3 @@
|
||||||
|
layout python python2
|
||||||
|
pip install --quiet -r requirements.txt
|
||||||
|
watch_file requirements.txt
|
|
@ -1 +1,2 @@
|
||||||
html/
|
html/
|
||||||
|
.direnv
|
||||||
|
|
|
@ -10,4 +10,6 @@ Review and run the `bootstrap.sh` script to generate the EPUB.
|
||||||
|
|
||||||
**Note**: Currently relies on python2 and pip to install dependencies
|
**Note**: Currently relies on python2 and pip to install dependencies
|
||||||
and does not setup a virtualenv. Please review the script and edit
|
and does not setup a virtualenv. Please review the script and edit
|
||||||
as per your needs.
|
as per your needs. If you have [direnv](https://direnv.net/)
|
||||||
|
installed, it will set up the virtualenv for you after you run
|
||||||
|
`direnv allow`.
|
||||||
|
|
Loading…
Reference in New Issue