forked from qinzheng93/GeoTransformer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
22 lines (20 loc) · 814 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
setup(
name='geotransformer',
version='1.0.0',
ext_modules=[
CUDAExtension(
name='geotransformer.ext',
sources=[
'geotransformer/extensions/extra/cloud/cloud.cpp',
'geotransformer/extensions/cpu/grid_subsampling/grid_subsampling.cpp',
'geotransformer/extensions/cpu/grid_subsampling/grid_subsampling_cpu.cpp',
'geotransformer/extensions/cpu/radius_neighbors/radius_neighbors.cpp',
'geotransformer/extensions/cpu/radius_neighbors/radius_neighbors_cpu.cpp',
'geotransformer/extensions/pybind.cpp',
],
),
],
cmdclass={'build_ext': BuildExtension},
)