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-spline-conv
Commits
38d30c48
Commit
38d30c48
authored
Dec 01, 2020
by
rusty1s
Browse files
fix pip metadata [ci-deploy]
parent
b2cc22a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
90 deletions
+94
-90
.travis.yml
.travis.yml
+89
-89
setup.py
setup.py
+5
-1
No files found.
.travis.yml
View file @
38d30c48
...
@@ -2,105 +2,105 @@ language: shell
...
@@ -2,105 +2,105 @@ language: shell
os
:
os
:
-
linux
-
linux
-
osx
#
- osx
-
windows
#
- windows
env
:
env
:
global
:
global
:
-
CUDA_HOME=/usr/local/cuda
-
CUDA_HOME=/usr/local/cuda
jobs
:
jobs
:
# Python 3.6
# Python 3.6
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
#
- 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=cu92
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
#
- 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=cu102
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
#
- 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=cpu
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
#
- 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=cu101
-
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
#
- PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.7
# Python 3.7
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
#
- 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=cu92
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
#
- 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=cu102
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
#
- 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=cpu
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
#
- 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=cu101
-
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
#
- PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.8
# Python 3.8
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
#
- 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=cu92
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
#
- 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=cu102
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
#
- 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=cpu
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
#
- 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=cu101
-
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
#
- PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
jobs
:
#
jobs:
# For daily builds, we only test on Python 3.6 with CUDA 10.2/11.0.
#
# 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.
#
# For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs.
exclude
:
#
exclude:
# Python 3.6
#
# Python 3.6
-
if
:
not (tag is present or commit_message =~ ci-deploy) and os != osx
#
- 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
#
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
#
- 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
#
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
#
- 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
#
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
-
if
:
os = osx
#
- if: os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
#
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
-
if
:
os = osx
#
- if: os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
#
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
#
- 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
#
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
#
- 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
#
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
#
- 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
#
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
-
if
:
os = osx
#
- if: os = osx
env
:
PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
#
env: PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.7
#
# Python 3.7
-
if
:
not (tag is present or commit_message =~ ci-deploy)
#
- if: not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
#
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
#
- 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
#
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
#
- 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
#
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
#
- 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
#
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
#
- 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
#
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
-
if
:
not (tag is present or commit_message =~ ci-deploy)
#
- if: not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
#
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
#
- 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
#
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
#
- 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
#
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
#
- 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
#
env: PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
# Python 3.8
#
# Python 3.8
-
if
:
not (tag is present or commit_message =~ ci-deploy)
#
- if: not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
#
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
#
- 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
#
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
#
- 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
#
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
#
- 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
#
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
#
- 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
#
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
-
if
:
not (tag is present or commit_message =~ ci-deploy)
#
- if: not (tag is present or commit_message =~ ci-deploy)
env
:
PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
#
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
#
- 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
#
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
#
- 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
#
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
#
- 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
#
env: PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
install
:
install
:
-
source script/gcc.sh
-
source script/gcc.sh
...
...
setup.py
View file @
38d30c48
...
@@ -13,6 +13,10 @@ if os.getenv('FORCE_CUDA', '0') == '1':
...
@@ -13,6 +13,10 @@ if os.getenv('FORCE_CUDA', '0') == '1':
if
os
.
getenv
(
'FORCE_CPU'
,
'0'
)
==
'1'
:
if
os
.
getenv
(
'FORCE_CPU'
,
'0'
)
==
'1'
:
WITH_CUDA
=
False
WITH_CUDA
=
False
suffix
=
'+cpu'
if
WITH_CUDA
:
suffix
=
f
'+cu
{
torch
.
version
.
cuda
.
replace
(
"."
,
""
)
}
'
BUILD_DOCS
=
os
.
getenv
(
'BUILD_DOCS'
,
'0'
)
==
'1'
BUILD_DOCS
=
os
.
getenv
(
'BUILD_DOCS'
,
'0'
)
==
'1'
...
@@ -63,7 +67,7 @@ tests_require = ['pytest', 'pytest-cov']
...
@@ -63,7 +67,7 @@ tests_require = ['pytest', 'pytest-cov']
setup
(
setup
(
name
=
'torch_spline_conv'
,
name
=
'torch_spline_conv'
,
version
=
'1.2.0'
,
version
=
'1.2.0'
+
suffix
,
author
=
'Matthias Fey'
,
author
=
'Matthias Fey'
,
author_email
=
'matthias.fey@tu-dortmund.de'
,
author_email
=
'matthias.fey@tu-dortmund.de'
,
url
=
'https://github.com/rusty1s/pytorch_spline_conv'
,
url
=
'https://github.com/rusty1s/pytorch_spline_conv'
,
...
...
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