Skip to content

Commit

Permalink
Avoid modifying TORCHVISION_INCLUDE global variable in setup.py (#8533)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug authored Jul 17, 2024
1 parent 4d1ff71 commit e3d3ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ def find_libjpeg():

def make_image_extension():

include_dirs = TORCHVISION_INCLUDE
library_dirs = TORCHVISION_LIBRARY
include_dirs = TORCHVISION_INCLUDE.copy()
library_dirs = TORCHVISION_LIBRARY.copy()

libraries = []
define_macros, extra_compile_args = get_macros_and_flags()
Expand Down

0 comments on commit e3d3ca0

Please sign in to comment.