You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Create a virtual environment using [`python3 -m venv $ENV_NAME`](https://docs.python.org/3/library/venv.html) or `mkvirtualenv` (from [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/))
32
33
- If you have autoenv set-up correctly, simply press Y and then wait for the environment to be set up for you.
33
34
- If you don't have autoenv set-up, run `source .env` to set up the local environment. You will need to run this script every time you want to work on the project - though it will not cause the entire set up process to re-occur.
34
35
4. Run `test` to verify your everything is set up correctly. If the tests all pass, you have successfully set up hug for local development! If not, you can ask for help diagnosing the error [here](https://gitter.im/timothycrosley/hug).
35
36
36
-
At step 3, you can skip using autoenv and the `.env` script,
37
-
and create your development virtul environment manually instead
38
-
using e.g. [`python3 -m venv`](https://docs.python.org/3/library/venv.html)
39
-
or `mkvirtualenv` (from [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/)).
40
-
41
37
Install dependencies by running `pip install -r requirements/release.txt`,
42
-
and optional build or development dependencies
38
+
and optional build dependencies
43
39
by running `pip install -r requirements/build.txt`
44
-
or `pip install -r requirements/build.txt`.
40
+
or `pip install -r requirements/build_windows.txt`.
45
41
46
42
Install Hug itself with `pip install .` or `pip install -e .` (for editable mode).
47
43
This will compile all modules with [Cython](https://cython.org/) if it's installed in the environment.
0 commit comments