forked from mjdrushton/cexprtk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the build wheels script for windows.
- Loading branch information
1 parent
25679f4
commit dee1b0a
Showing
1 changed file
with
66 additions
and
29 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 |
---|---|---|
@@ -1,64 +1,101 @@ | ||
REM Python 2.7 | ||
IF NOT exist venv-27 ( | ||
pip2.7 install --upgrade pip | ||
pip2.7 install virtualenv | ||
pip2.7 install --user --upgrade pip | ||
pip2.7 install --user virtualenv | ||
virtualenv -p c:\python27\python.exe venv-27 | ||
) | ||
|
||
call venv-27\Scripts\activate | ||
pip install wheel nose | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-27\Scripts\deactivate | ||
|
||
REM Python 3.6 | ||
IF NOT exist venv-36 ( | ||
virtualenv -p "c:\Program Files\Python36\python.exe" venv-36 | ||
|
||
REM Python 2.7 32 bit | ||
IF NOT exist venv-27-32 ( | ||
pip2.7 install --user --upgrade pip | ||
pip2.7 install --user virtualenv | ||
virtualenv -p c:\python27-32\python.exe venv-27-32 | ||
) | ||
|
||
call venv-36\Scripts\activate | ||
pip install wheel nose | ||
call venv-27-32\Scripts\activate | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-36\Scripts\deactivate | ||
call venv-27-32\Scripts\deactivate | ||
|
||
REM Python 3.5 | ||
|
||
REM REM Python 3.5 | ||
IF NOT exist venv-35 ( | ||
virtualenv -p "%USERPROFILE%\AppData\Local\Programs\Python\Python35\python.exe" venv-35 | ||
) | ||
|
||
call venv-35\Scripts\activate | ||
pip install wheel nose | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-35\Scripts\deactivate | ||
|
||
|
||
REM Python 3.6 | ||
IF NOT exist venv-36 ( | ||
virtualenv -p "%USERPROFILE%\AppData\Local\Programs\Python\Python36\python.exe" venv-36 | ||
) | ||
|
||
call venv-36\Scripts\activate | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-36\Scripts\deactivate | ||
|
||
|
||
REM Python 3.6 32 bit | ||
IF NOT exist venv-36-32 ( | ||
virtualenv -p "%USERPROFILE%\AppData\Local\Programs\Python\Python36-32\python.exe" venv-36-32 | ||
) | ||
|
||
call venv-36-32\Scripts\activate | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-36-32\Scripts\deactivate | ||
|
||
|
||
REM Python 3.7 | ||
IF NOT exist venv-37 ( | ||
virtualenv -p "%USERPROFILE%\AppData\Local\Programs\Python\Python37\python.exe" venv-37 | ||
) | ||
|
||
call venv-37\Scripts\activate | ||
pip install wheel nose | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-37\Scripts\deactivate | ||
|
||
REM Python 3.7 32 bit | ||
IF NOT exist venv-37-32 ( | ||
virtualenv -p "%USERPROFILE%\AppData\Local\Programs\Python\Python37-32\python.exe" venv-37-32 | ||
) | ||
|
||
REM Tests | ||
call venv-27\Scripts\activate | ||
pip -v install cexprtk --no-cache-dir --no-index -f wheelhouse | ||
nosetests cexprtk | ||
call venv-27\Scripts\deactivate | ||
call venv-37-32\Scripts\activate | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-37-32\Scripts\deactivate | ||
|
||
call venv-35\Scripts\activate | ||
pip -v install cexprtk --no-cache-dir --no-index -f wheelhouse | ||
nosetests cexprtk | ||
call venv-35\Scripts\deactivate | ||
|
||
call venv-36\Scripts\activate | ||
pip -v install cexprtk --no-cache-dir --no-index -f wheelhouse | ||
nosetests cexprtk | ||
call venv-36\Scripts\deactivate | ||
REM Python 3.8 | ||
IF NOT exist venv-38 ( | ||
virtualenv -p "c:\Python38\python.exe" venv-38 | ||
) | ||
|
||
call venv-37\Scripts\activate | ||
pip -v install cexprtk --no-cache-dir --no-index -f wheelhouse | ||
nosetests cexprtk | ||
call venv-37\Scripts\deactivate | ||
call venv-38\Scripts\activate | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-38\Scripts\deactivate | ||
|
||
|
||
REM Python 3.8 32 bit | ||
IF NOT exist venv-38-32 ( | ||
virtualenv -p "%USERPROFILE%\AppData\Local\Programs\Python\Python38-32\python.exe" venv-38-32 | ||
) | ||
|
||
call venv-38-32\Scripts\activate | ||
pip install wheel | ||
pip wheel . -w wheelhouse | ||
call venv-38-32\Scripts\deactivate | ||
|