Skip to content

Commit 6f170d9

Browse files
Fix installing torch points kernels with latest pip
1 parent 68bf9b9 commit 6f170d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ exclude = '''
2525
'''
2626

2727
[build-system]
28-
requires = ["setuptools>=41.0", "setuptools-scm", "wheel"]
28+
requires = ["setuptools>=41.0", "setuptools-scm", "wheel", "torch"]
2929
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
TORCH_MAJOR = int(torch.__version__.split(".")[0])
1717
TORCH_MINOR = int(torch.__version__.split(".")[1])
18-
extra_compile_args = []
18+
extra_compile_args = ["-03"]
1919
if (TORCH_MAJOR > 1) or (TORCH_MAJOR == 1 and TORCH_MINOR > 2):
2020
extra_compile_args += ["-DVERSION_GE_1_3"]
2121

@@ -48,7 +48,7 @@
4848
requirements = ["torch>=1.1.0"]
4949

5050
url = 'https://github.com/nicolas-chaulet/torch-points-kernels'
51-
__version__="0.5.2"
51+
__version__="0.5.3"
5252
setup(
5353
name="torch-points-kernels",
5454
version=__version__,

0 commit comments

Comments
 (0)