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
e9171f8a
Commit
e9171f8a
authored
Jan 30, 2018
by
rusty1s
Browse files
update build process
parent
88b8bd1f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
build.sh
build.sh
+2
-0
setup.py
setup.py
+3
-5
torch_scatter/__init__.py
torch_scatter/__init__.py
+1
-1
No files found.
build.sh
View file @
e9171f8a
#!/bin/sh
echo
"Compiling kernel..."
TORCH
=
$(
python
-c
"import os; import torch; print(os.path.dirname(torch.__file__))"
)
SRC_DIR
=
torch_scatter/kernel
BUILD_DIR
=
torch_scatter/build
...
...
setup.py
View file @
e9171f8a
...
...
@@ -2,14 +2,12 @@ from os import path as osp
from
setuptools
import
setup
,
find_packages
import
build
# noqa
__version__
=
'0.2.1'
__version__
=
'0.2.2'
url
=
'https://github.com/rusty1s/pytorch_scatter'
install_requires
=
[
'cffi'
]
setup_requires
=
[
'pytest-runner'
,
'cffi'
]
tests_require
=
[
'pytest'
,
'pytest-cov'
]
setup_requires
=
[
'cffi'
]
tests_require
=
[
'pytest'
,
'pytest-runner'
,
'pytest-cov'
]
docs_require
=
[
'Sphinx'
,
'sphinx_rtd_theme'
]
setup
(
...
...
torch_scatter/__init__.py
View file @
e9171f8a
...
...
@@ -6,7 +6,7 @@ from .functions.mean import scatter_mean_, scatter_mean
from
.functions.max
import
scatter_max_
,
scatter_max
from
.functions.min
import
scatter_min_
,
scatter_min
__version__
=
'0.2.
1
'
__version__
=
'0.2.
2
'
__all__
=
[
'scatter_add_'
,
'scatter_add'
,
'scatter_sub_'
,
'scatter_sub'
,
...
...
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