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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
1f087a63
Commit
1f087a63
authored
Apr 14, 2021
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.29.x'
parents
a6ab2a9a
7a4e43da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
appveyor/install.ps1
appveyor/install.ps1
+7
-4
No files found.
appveyor/install.ps1
View file @
1f087a63
...
@@ -48,12 +48,14 @@ function InstallPython ($python_version, $architecture, $python_home) {
...
@@ -48,12 +48,14 @@ function InstallPython ($python_version, $architecture, $python_home) {
$installer_exe
=
(
$py_major
+
$py_minor
)
-as
[
int
]
-ge
35
$installer_exe
=
(
$py_major
+
$py_minor
)
-as
[
int
]
-ge
35
if
(
$installer_exe
)
{
if
(
$installer_exe
)
{
$arch_suffix
=
@{
"32"
=
""
;
"64"
=
"-amd64"
}[
$architecture
]
$arch_suffix
=
@{
"32"
=
""
;
"64"
=
"-amd64"
}[
$architecture
]
$filename
=
"python-"
+
$python_version
+
$arch_suffix
+
".exe"
$dl_filename
=
"python-"
+
$python_version
+
$arch_suffix
+
".exe"
$filename
=
"python-"
+
$py_major
+
"."
+
$py_minor
+
$arch_suffix
+
".exe"
}
else
{
}
else
{
$arch_suffix
=
@{
"32"
=
""
;
"64"
=
".amd64"
}[
$architecture
]
$arch_suffix
=
@{
"32"
=
""
;
"64"
=
".amd64"
}[
$architecture
]
$filename
=
"python-"
+
$python_version
+
$arch_suffix
+
".msi"
$dl_filename
=
"python-"
+
$python_version
+
$arch_suffix
+
".msi"
$filename
=
"python-"
+
$py_major
+
"."
+
$py_minor
+
$arch_suffix
+
".msi"
}
}
$url
=
$PYTHON_BASE_URL
+
$python_version
+
"/"
+
$filename
$url
=
$PYTHON_BASE_URL
+
$python_version
+
"/"
+
$
dl_
filename
$filepath
=
Download
$url
$filename
$DOWNLOADS
$filepath
=
Download
$url
$filename
$DOWNLOADS
Write-Host
"Installing"
$filename
"to"
$python_home
Write-Host
"Installing"
$filename
"to"
$python_home
if
(
$installer_exe
)
{
if
(
$installer_exe
)
{
...
@@ -99,7 +101,8 @@ function InstallPipPackage ($python_home, $package) {
...
@@ -99,7 +101,8 @@ function InstallPipPackage ($python_home, $package) {
}
}
function
main
()
{
function
main
()
{
InstallPython
$
env
:
PYTHON_VERSION
$
env
:
PYTHON_ARCH
$
env
:
PYTHON
$full_version
=
$
env
:
PYTHON_VERSION
+
".0"
InstallPython
$full_version
$
env
:
PYTHON_ARCH
$
env
:
PYTHON
InstallPip
$
env
:
PYTHON
InstallPip
$
env
:
PYTHON
InstallPipPackage
$
env
:
PYTHON
setuptools
InstallPipPackage
$
env
:
PYTHON
setuptools
InstallPipPackage
$
env
:
PYTHON
wheel
InstallPipPackage
$
env
:
PYTHON
wheel
...
...
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