-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from zigastegu/lowhangingfruits
scripts, env, windows
- Loading branch information
Showing
7 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,3 @@ | ||
venv* | ||
__pycache__ | ||
*.pyc |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,8 @@ | ||
pyserial | ||
numpy | ||
scipy | ||
pyqtgraph | ||
pyqt5 | ||
h5py | ||
pyftdi | ||
ftd2xx |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,5 @@ | ||
python.exe -m pip install virtualenv | ||
cd "%~dp0..\.." | ||
python -m venv venv | ||
call ".\venv\Scripts\activate.bat" | ||
python -m pip --no-input install -r "%~dp0..\requirements.txt" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,12 @@ | ||
SET Python2=C:\Python27\python.exe | ||
@echo off | ||
if not exist %Python2% ( | ||
echo "Python2 path not correct, check" | ||
EXIT /b | ||
) | ||
|
||
@echo on | ||
%Python2% -m pip install virtualenv | ||
%Python2% -m virtualenv "%~dp0..\..\..\venv2" | ||
call "%~dp0..\..\..\venv2\Scripts\activate.bat" | ||
python -m pip --no-input install -r "%~dp0requirements.txt" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,5 @@ | ||
pyserial | ||
numpy | ||
matplotlib | ||
PySide | ||
scipy |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,12 @@ | ||
@echo off | ||
cd "%~dp0..\..\.." | ||
SET venv=venv2\Scripts\activate.bat | ||
if not exist %venv% ( | ||
echo Virtual Python environment is probably not set. | ||
echo Run init_virtual_env.bat | ||
EXIT /b | ||
) | ||
|
||
@echo on | ||
call .\%venv% | ||
python HaasoscopeDraw.py |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,12 @@ | ||
@echo off | ||
cd "%~dp0..\.." | ||
SET venv=venv\Scripts\activate.bat | ||
if not exist %venv% ( | ||
echo Virtual Python environment is probably not set. | ||
echo Run init_virtual_env.bat | ||
EXIT /b | ||
) | ||
|
||
@echo on | ||
call .\%venv% | ||
python HaasoscopeQt.py |