Last active
July 11, 2020 15:13
-
-
Save joocer/eb1054dc9b0fe05402b767c99b80bc3b to your computer and use it in GitHub Desktop.
A simple script to create and activate a virtual env, install requirements and running a main.py script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set "VIRTUAL_ENV=%CD%\temp" | |
set "PATH=%VIRTUAL_ENV%\Scripts;%PATH%" | |
set "PROMPT=(VIRTUAL) $P$G%" | |
python -m venv temp | |
pip install -r requirements.txt | |
python main.py | |
set "PROMPT=$P$G" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment