Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
bc4acfe0
Commit
bc4acfe0
authored
Sep 30, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.23.x' of
git+ssh://github.com/cython/cython
into 0.23.x
parents
f46e82cf
c483c977
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
60 deletions
+54
-60
appveyor.yml
appveyor.yml
+22
-13
appveyor/run_with_compiler.cmd
appveyor/run_with_compiler.cmd
+0
-47
appveyor/run_with_env.cmd
appveyor/run_with_env.cmd
+32
-0
No files found.
appveyor.yml
View file @
bc4acfe0
# https://ci.appveyor.com/project/cython/cython
version
:
{
branch
}
-{build}
environment
:
global
:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
WITH_
COMPILER
:
"
cmd
/E:ON
/V:ON
/C
.
\\
appveyor
\\
run_with_compiler
.cmd"
WITH_
ENV
:
"
cmd
/E:ON
/V:ON
/C
.
\\
appveyor
\\
run_with_env
.cmd"
matrix
:
-
PYTHON
:
"
C:
\\
Python26"
...
...
@@ -16,13 +20,17 @@ environment:
PYTHON_ARCH
:
"
32"
-
PYTHON
:
"
C:
\\
Python33"
PYTHON_VERSION
:
"
3.3.
6
"
PYTHON_VERSION
:
"
3.3.
5
"
PYTHON_ARCH
:
"
32"
-
PYTHON
:
"
C:
\\
Python34"
PYTHON_VERSION
:
"
3.4.3"
PYTHON_ARCH
:
"
32"
-
PYTHON
:
"
C:
\\
Python35"
PYTHON_VERSION
:
"
3.5.0"
PYTHON_ARCH
:
"
32"
-
PYTHON
:
"
C:
\\
Python26-x64"
PYTHON_VERSION
:
"
2.6.6"
PYTHON_ARCH
:
"
64"
...
...
@@ -30,27 +38,28 @@ environment:
-
PYTHON
:
"
C:
\\
Python27-x64"
PYTHON_VERSION
:
"
2.7.9"
PYTHON_ARCH
:
"
64"
WINDOWS_SDK_VERSION
:
"
v7.0"
-
PYTHON
:
"
C:
\\
Python33-x64"
PYTHON_VERSION
:
"
3.3.
6
"
PYTHON_VERSION
:
"
3.3.
5
"
PYTHON_ARCH
:
"
64"
WINDOWS_SDK_VERSION
:
"
v7.1"
-
PYTHON
:
"
C:
\\
Python34-x64"
PYTHON_VERSION
:
"
3.4.3"
PYTHON_ARCH
:
"
64"
WINDOWS_SDK_VERSION
:
"
v7.1"
-
PYTHON
:
"
C:
\\
Python35-x64"
PYTHON_VERSION
:
"
3.5.0"
PYTHON_ARCH
:
"
64"
clone_depth
:
5
branches
:
only
:
-
master
-
0.2
2
.x
-
0.2
3
.x
init
:
-
"
ECHO
%PYTHON%
%PYTHON_VERSION%
%PYTHON_ARCH
%"
-
"
ECHO
Python
%PYTHON_VERSION%
(%PYTHON_ARCH%bit)
from
%PYTHON
%"
install
:
-
"
powershell
appveyor
\\
install.ps1"
...
...
@@ -60,14 +69,14 @@ install:
build
:
off
build_script
:
-
"
%WITH_
COMPILER%
%PYTHON%
\\
python.exe
setupegg
.py
build"
-
"
%WITH_
COMPILER%
%PYTHON%
\\
python.exe
setupegg
.py
--quiet
bdist_wheel"
-
"
%WITH_
COMPILER%
%PYTHON%
\\
python.exe
setupegg
.py
--quiet
bdist_msi"
-
"
%WITH_
COMPILER%
%PYTHON%
\\
python.exe
setupegg
.py
--quiet
bdist_wininst"
-
"
%WITH_
ENV%
%PYTHON%
\\
python.exe
setup
.py
build"
-
"
%WITH_
ENV%
%PYTHON%
\\
python.exe
setup
.py
--quiet
bdist_wheel"
-
"
%WITH_
ENV%
%PYTHON%
\\
python.exe
setup
.py
--quiet
bdist_msi"
-
"
%WITH_
ENV%
%PYTHON%
\\
python.exe
setup
.py
--quiet
bdist_wininst"
test
:
off
test_script
:
-
"
%WITH_
COMPILER%
%PYTHON%
\\
python.exe
setupegg
.py
test"
-
"
%WITH_
ENV%
%PYTHON%
\\
python.exe
setup
.py
test"
artifacts
:
-
path
:
dist\*
...
...
appveyor/run_with_compiler.cmd
deleted
100644 → 0
View file @
f46e82cf
:: To build extensions for 64 bit Python 3, we need to configure environment
:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
:: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1)
::
:: To build extensions for 64 bit Python 2, we need to configure environment
:: variables to use the MSVC 2008 C++ compilers from GRMSDKX_EN_DVD.iso of:
:: MS Windows SDK for Windows 7 and .NET Framework 3.5 (SDK v7.0)
::
:: 32 bit builds do not require specific environment configurations.
::
:: Note: this script needs to be run with the /E:ON and /V:ON flags for the
:: cmd interpreter, at least for (SDK v7.0)
::
:: More details at:
:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
:: http://stackoverflow.com/a/13751649/163740
::
:: Author: Olivier Grisel
:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
@ECHO
OFF
SET
COMMAND_TO_RUN
=
%
*
SET
WIN_SDK_ROOT
=
C
:\Program
Files
\Microsoft
SDKs
\Windows
SET
MAJOR_PYTHON_VERSION
=
"
%PYTHON
_VERSION:~0,1
%
"
IF
%MAJOR_PYTHON_VERSION%
==
"2"
(
SET
WINDOWS_SDK_VERSION
=
"v7.0"
)
ELSE
IF
%MAJOR_PYTHON_VERSION%
==
"3"
(
SET
WINDOWS_SDK_VERSION
=
"v7.1"
)
ELSE
(
ECHO
Unsupported
Python
version
:
"
%MAJOR_PYTHON_VERSION%
"
EXIT
1
)
IF
"
%PYTHON_ARCH%
"
==
"64"
(
ECHO
Configuring
Windows
SDK
%WINDOWS_SDK_VERSION%
for
Python
%MAJOR_PYTHON_VERSION%
on
a
64
bit
architecture
SET
DISTUTILS_USE_SDK
=
1
SET
MSSdk
=
1
"
%WIN_SDK_ROOT%
\
%WINDOWS_SDK_VERSION%
\Setup\WindowsSdkVer.exe"
-q -version
:
%WINDOWS_SDK_VERSION%
"
%WIN_SDK_ROOT%
\
%WINDOWS_SDK_VERSION%
\Bin\SetEnv.cmd"
/x
64
/release
ECHO
Executing
:
%COMMAND_TO_RUN%
call
%COMMAND_TO_RUN%
||
EXIT
1
)
ELSE
(
ECHO
Using
default
MSVC
build
environment
for
32
bit
architecture
ECHO
Executing
:
%COMMAND_TO_RUN%
call
%COMMAND_TO_RUN%
||
EXIT
1
)
appveyor/run_with_env.cmd
0 → 100644
View file @
bc4acfe0
:: Author: Lisandro Dalcin
:: Contact: dalcinl@gmail.com
:: Credits: Olivier Grisel and Kyle Kastner
@ECHO
OFF
SET
COMMAND_TO_RUN
=
%
*
SET
PYTHON_VERSION_MAJOR
=
%PYTHON
_VERSION:
~
0
,
1
%
SET
PYTHON_VERSION_MINOR
=
%PYTHON
_VERSION:
~
2
,
1
%
SET
WIN_SDK_ROOT
=
C
:\Program
Files
\Microsoft
SDKs
\Windows
IF
%PYTHON_VERSION_MAJOR%
==
2
SET
WIN_SDK_VERSION
=
"v7.0"
IF
%PYTHON_VERSION_MAJOR%
==
3
SET
WIN_SDK_VERSION
=
"v7.1"
IF
%PYTHON_ARCH%
==
64
SET
USE_WIN_SDK
=
1
IF
%PYTHON_VERSION_MAJOR%
EQU
3
IF
%PYTHON_VERSION_MINOR%
GEQ
5
SET
USE_WIN_SDK
=
0
IF
%PYTHON_VERSION_MAJOR%
GTR
3
SET
USE_WIN_SDK
=
0
if
%PYTHON_ARCH%
==
32
SET
USE_WIN_SDK
=
0
IF
%USE_WIN_SDK%
==
1
(
ECHO
Configuring
Windows
SDK
%WIN_SDK_VERSION%
for
%PYTHON_ARCH%
bit
architecture
SET
DISTUTILS_USE_SDK
=
1
SET
MSSdk
=
1
"
%WIN_SDK_ROOT%
\
%WIN_SDK_VERSION%
\Setup\WindowsSdkVer.exe"
-q -version
:
%WIN_SDK_VERSION%
"
%WIN_SDK_ROOT%
\
%WIN_SDK_VERSION%
\Bin\SetEnv.cmd"
/x
64
/release
ECHO
Executing
:
%COMMAND_TO_RUN%
CALL
%COMMAND_TO_RUN%
||
EXIT
1
)
ELSE
(
ECHO
Using
default
MSVC
build
environment
for
%PYTHON_ARCH%
bit
architecture
ECHO
Executing
:
%COMMAND_TO_RUN%
CALL
%COMMAND_TO_RUN%
||
EXIT
1
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment