Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
67e27e96
Commit
67e27e96
authored
Feb 12, 2020
by
rusty1s
Browse files
typo
parent
cbef9a45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
.travis.yml
.travis.yml
+1
-1
script/wheel.py
script/wheel.py
+6
-2
No files found.
.travis.yml
View file @
67e27e96
...
@@ -99,7 +99,7 @@ install:
...
@@ -99,7 +99,7 @@ install:
-
source script/conda.sh
-
source script/conda.sh
-
conda create --yes -n test python=3.7.6
-
conda create --yes -n test python=3.7.6
-
source activate test
-
source activate test
-
conda install pytorch=${TORCH_VERSION}
{
$TOOLKIT} -c pytorch
-
conda install pytorch=${TORCH_VERSION} $
{
TOOLKIT} -c pytorch
-
python setup.py install
-
python setup.py install
# - pip3 install --upgrade pip
# - pip3 install --upgrade pip
# - pip3 install wheel
# - pip3 install wheel
...
...
script/wheel.py
View file @
67e27e96
...
@@ -6,11 +6,15 @@ objects = bucket.objects.all()
...
@@ -6,11 +6,15 @@ objects = bucket.objects.all()
wheels
=
sorted
([
obj
.
key
[
4
:]
for
obj
in
objects
if
obj
.
key
[
-
3
:]
==
'whl'
])
wheels
=
sorted
([
obj
.
key
[
4
:]
for
obj
in
objects
if
obj
.
key
[
-
3
:]
==
'whl'
])
content
=
'<!DOCTYPE html>
\n
<html>
\n
<body>
\n
{}
\n
</body>
\n
</html>'
content
=
'<!DOCTYPE html>
\n
<html>
\n
<body>
\n
{}
\n
</body>
\n
</html>'
url
=
'https://pytorch-scatter.s3.eu-central-1.amazonaws.com/whl/{}
.whl
'
url
=
'https://pytorch-scatter.s3.eu-central-1.amazonaws.com/whl/{}'
links
=
[
'<a href="{}">{}</a><br/>'
.
format
(
url
.
format
(
w
),
w
)
for
w
in
wheels
]
links
=
[
'<a href="{}">{}</a><br/>'
.
format
(
url
.
format
(
w
),
w
)
for
w
in
wheels
]
content
=
content
.
format
(
'
\n
'
.
join
(
links
))
content
=
content
.
format
(
'
\n
'
.
join
(
links
))
with
open
(
'index.html'
,
'w'
)
as
f
:
with
open
(
'index.html'
,
'w'
)
as
f
:
f
.
write
(
content
)
f
.
write
(
content
)
bucket
.
Object
(
'whl/index.html'
).
upload_file
(
Filename
=
'index.html'
)
bucket
.
Object
(
'whl/index.html'
).
upload_file
(
Filename
=
'index.html'
,
ExtraArgs
=
{
'ContentType'
:
'text/html'
,
'ACL'
:
'public-read'
})
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