8000 CI: add appveyor script to build Windows wheels by matthew-brett · Pull Request #6969 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

CI: add appveyor script to build Windows wheels #6969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI: enable local freetype and use conda forge functools on py27
  • Loading branch information
jankatins authored and matthew-brett committed Aug 25, 2016
commit 696f215a5d1fb182bd8a1644164425f9f2eee94f
2 changes: 2 additions & 0 deletions build_alllocal.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
:: activate matplotlib_build
:: # this package is only available in the conda-forge channel
:: conda install -c conda-forge msinttypes
:: if you build on py2.7:
:: conda install -c conda-forge functools32

set TARGET=bdist_wheel
IF [%1]==[] (
Expand Down
1 change: 0 additions & 1 deletion ci/conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ source:
# https://github.com/conda/conda-build/issues/1061
- condaversion.patch


requirements:
build:
- python
Expand Down
7 changes: 6 additions & 1 deletion setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,10 +1135,15 @@ def do_custom_build(self):
set MSBUILD=C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe
rd /S /Q %FREETYPE%\\objs
%MSBUILD% %FREETYPE%\\builds\\windows\\{vc20xx}\\freetype.sln /t:Clean;Build /p:Configuration="{config}";Platform={WinXX}
echo Build completed, moving result"
:: move to the "normal" path for the unix builds...
mkdir %FREETYPE%\\objs\\.libs
:: REMINDER: fix when changing the version
copy %FREETYPE%\\objs\\{vc20xx}\\{xXX}\\freetype261.lib %FREETYPE%\\objs\\.libs\\libfreetype.lib
copy %FREETYPE%\\objs\\{vc20xx}\\{xXX}\\freetype261.lib %FREETYPE%\\objs\\.libs\\libfreetype.lib
if errorlevel 1 (
rem This is a py27 version, which has a different location for the lib file :-/
copy %FREETYPE%\\objs\\{WinXX}\\{vc20xx}\\freetype261.lib %FREETYPE%\\objs\\.libs\\libfreetype.lib
)
"""
from setup_external_compile import fixproj, prepare_build_cmd, VS2010, X64, tar_extract
vc = 'vc2010' if VS2010 else 'vc2008'
Expand Down
0