FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
aws-cli/scripts/ci/install at develop · gitqueue/aws-cli · GitHub
gitqueue
/
aws-cli
Public
forked from
aws/aws-cli
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
aws-cli
/
scripts
/
ci
/
install
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
32 lines (24 loc) · 786 Bytes
Breadcrumbs
aws-cli
/
scripts
/
ci
/
install
Copy path
File metadata and controls
executable file
·
32 lines (24 loc) · 786 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python
import
os
import
sys
from
subprocess
import
check_call
import
shutil
_dname
=
os
.
path
.
dirname
REPO_ROOT
=
_dname
(
_dname
(
_dname
(
os
.
path
.
abspath
(
__file__
))))
os
.
chdir
(
REPO_ROOT
)
def
run
(
command
):
return
check_call
(
command
,
shell
=
True
)
try
:
# Has the form "major.minor"
python_version
=
os
.
environ
[
'PYTHON_VERSION'
]
except
KeyError
:
python_version
=
'.'
.
join
([
str
(
i
)
for
i
in
sys
.
version_info
[:
2
]])
if
python_version
==
'2.6'
:
run
(
'pip install -r requirements26.txt'
)
run
(
'pip install -r requirements.txt'
)
run
(
'pip install coverage'
)
if
os
.
path
.
isdir
(
'dist'
)
and
os
.
listdir
(
'dist'
):
shutil
.
rmtree
(
'dist'
)
run
(
'python setup.py bdist_wheel'
)
wheel_dist
=
os
.
listdir
(
'dist'
)[
0
]
run
(
'pip install %s'
%
(
os
.
path
.
join
(
'dist'
,
wheel_dist
)))
Back
|
FazBrowse Home
|
New Git URL