@@ -182,12 +182,19 @@ def run(self):
182
182
class CleanCommand (Command ):
183
183
"""Custom clean command to tidy up the project root."""
184
184
PY_CLEAN_DIRS = [
185
- './build' , './dist' , './torch_tensorrt/__pycache__' , './torch_tensorrt/lib' , './torch_tensorrt/include' ,
186
- './torch_tensorrt/bin' , './*.pyc' , './*.tgz' , './*.egg-info' ,
185
+ './build' ,
186
+ './dist' ,
187
+ './torch_tensorrt/__pycache__' ,
188
+ './torch_tensorrt/lib' ,
189
+ './torch_tensorrt/include' ,
190
+ './torch_tensorrt/bin' ,
191
+ './*.pyc' ,
192
+ './*.tgz' ,
193
+ './*.egg-info' ,
187
194
]
188
195
PY_CLEAN_FILES = [
189
- './torch_tensorrt/*.so' , './torch_tensorrt/_version.py' ,
190
- './torch_tensorrt/BUILD' , './torch_tensorrt/WORKSPACE' , './torch_tensorrt/ LICENSE'
196
+ './torch_tensorrt/*.so' , './torch_tensorrt/_version.py' , './torch_tensorrt/BUILD' , './torch_tensorrt/WORKSPACE' ,
197
+ './torch_tensorrt/LICENSE'
191
198
]
192
199
description = "Command to tidy up the project root"
193
200
user_options = []
@@ -220,7 +227,6 @@ def run(self):
220
227
os .remove (path )
221
228
222
229
223
-
224
230
ext_modules = [
225
231
cpp_extension .CUDAExtension (
226
232
'torch_tensorrt._C' , [
@@ -235,8 +241,7 @@ def run(self):
235
241
dir_path + "torch_tensorrt/csrc" , dir_path + "torch_tensorrt/include" ,
236
242
dir_path + "/../bazel-TRTorch/external/tensorrt/include" ,
237
243
dir_path + "/../bazel-Torch-TensorRT-Preview/external/tensorrt/include" ,
238
- dir_path + "/../bazel-Torch-TensorRT/external/tensorrt/include" ,
239
- dir_path + "/../"
244
+ dir_path + "/../bazel-Torch-TensorRT/external/tensorrt/include" , dir_path + "/../"
240
245
],
241
246
extra_compile_args = [
242
247
"-Wno-deprecated" ,
0 commit comments