Commit 38d30c48 authored by rusty1s's avatar rusty1s
Browse files

fix pip metadata [ci-deploy]

parent b2cc22a5
......@@ -2,105 +2,105 @@ language: shell
os:
- linux
- osx
- windows
# - osx
# - windows
env:
global:
- CUDA_HOME=/usr/local/cuda
jobs:
# Python 3.6
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
- PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
- PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
- PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
- PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
- PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
# - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.7
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
- PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
- PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
- PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
- PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
- PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
# - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.8
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
- PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
- PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
- PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
- PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
- PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
# - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
jobs:
# For daily builds, we only test on Python 3.6 with CUDA 10.2/11.0.
# For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs.
exclude:
# Python 3.6
- if: not (tag is present or commit_message =~ ci-deploy) and os != osx
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
- if: not (tag is present or commit_message =~ ci-deploy) or os != linux
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
- if: os = osx
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
- if: os = osx
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
- if: not (tag is present or commit_message =~ ci-deploy) and os != osx
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
- if: not (tag is present or commit_message =~ ci-deploy) or os != linux
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
- if: os = osx
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.7
- if: not (tag is present or commit_message =~ ci-deploy)
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
- if: not (tag is present or commit_message =~ ci-deploy) or os != linux
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
- if: not (tag is present or commit_message =~ ci-deploy)
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
- if: not (tag is present or commit_message =~ ci-deploy) or os != linux
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.8
- if: not (tag is present or commit_message =~ ci-deploy)
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
- if: not (tag is present or commit_message =~ ci-deploy) or os != linux
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
- if: not (tag is present or commit_message =~ ci-deploy)
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
- if: not (tag is present or commit_message =~ ci-deploy) or os != linux
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
- if: not (tag is present or commit_message =~ ci-deploy) or os = osx
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
# jobs:
# # For daily builds, we only test on Python 3.6 with CUDA 10.2/11.0.
# # For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs.
# exclude:
# # Python 3.6
# - if: not (tag is present or commit_message =~ ci-deploy) and os != osx
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
# - if: not (tag is present or commit_message =~ ci-deploy) or os != linux
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
# - if: os = osx
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
# - if: os = osx
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
# - if: not (tag is present or commit_message =~ ci-deploy) and os != osx
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
# - if: not (tag is present or commit_message =~ ci-deploy) or os != linux
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
# - if: os = osx
# env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
# # Python 3.7
# - if: not (tag is present or commit_message =~ ci-deploy)
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
# - if: not (tag is present or commit_message =~ ci-deploy) or os != linux
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
# - if: not (tag is present or commit_message =~ ci-deploy)
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
# - if: not (tag is present or commit_message =~ ci-deploy) or os != linux
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
# # Python 3.8
# - if: not (tag is present or commit_message =~ ci-deploy)
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
# - if: not (tag is present or commit_message =~ ci-deploy) or os != linux
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
# - if: not (tag is present or commit_message =~ ci-deploy)
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
# - if: not (tag is present or commit_message =~ ci-deploy) or os != linux
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
# - if: not (tag is present or commit_message =~ ci-deploy) or os = osx
# env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
install:
- source script/gcc.sh
......
......@@ -13,6 +13,10 @@ if os.getenv('FORCE_CUDA', '0') == '1':
if os.getenv('FORCE_CPU', '0') == '1':
WITH_CUDA = False
suffix = '+cpu'
if WITH_CUDA:
suffix = f'+cu{torch.version.cuda.replace(".", "")}'
BUILD_DOCS = os.getenv('BUILD_DOCS', '0') == '1'
......@@ -63,7 +67,7 @@ tests_require = ['pytest', 'pytest-cov']
setup(
name='torch_spline_conv',
version='1.2.0',
version='1.2.0' + suffix,
author='Matthias Fey',
author_email='matthias.fey@tu-dortmund.de',
url='https://github.com/rusty1s/pytorch_spline_conv',
......
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