"tests/vscode:/vscode.git/clone" did not exist on "14ccf5986401104121d0ef286a29386904af3bb7"
Commit 67e27e96 authored by rusty1s's avatar rusty1s
Browse files

typo

parent cbef9a45
......@@ -99,7 +99,7 @@ install:
- source script/conda.sh
- conda create --yes -n test python=3.7.6
- source activate test
- conda install pytorch=${TORCH_VERSION} {$TOOLKIT} -c pytorch
- conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch
- python setup.py install
# - pip3 install --upgrade pip
# - pip3 install wheel
......
......@@ -6,11 +6,15 @@ objects = bucket.objects.all()
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>'
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]
content = content.format('\n'.join(links))
with open('index.html', 'w') as f:
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'
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment