-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path_RUN_THIS_TO_INSTALL.bat
26 lines (21 loc) · 1.12 KB
/
_RUN_THIS_TO_INSTALL.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
echo First, ensure the "pip" tool is up to date.
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
python -m pip install --upgrade pip
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
echo Second, install the "googletrans" library, an API to let my code run text thru Google Translate service.
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
python -m pip install googletrans==4.0.0-rc1
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
echo Last, locally install the "mmd_scripting" package you just downloaded, necessary for the imports to properly work when running from several different entry points.
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
python -m pip install -e .
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
echo Last, ensure that any old config files are deleted
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
python mmd_scripting/scratch_stuff/delete_old_config.py
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
echo Done!
echo +++++++++++++++++++++++++++++++++++++++++++++++++++
pause