From 64280bec94248be580d218acfea0c2e59f4d1743 Mon Sep 17 00:00:00 2001 From: Francisco Massa Date: Fri, 20 Sep 2019 14:16:29 -0300 Subject: [PATCH 1/2] [TEST][DO NOT MERGE] Testing CI --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 74d39697513..2c469492f0d 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ def read(*names, **kwargs): + # testing with io.open( os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8") From 3ef904cd15f140d698c48a7c8d50619cc9538bb9 Mon Sep 17 00:00:00 2001 From: Francisco Massa Date: Fri, 20 Sep 2019 14:59:08 -0300 Subject: [PATCH 2/2] Try fixing build --- packaging/pkg_helpers.bash | 5 +---- setup.py | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packaging/pkg_helpers.bash b/packaging/pkg_helpers.bash index 4e7d55e4be6..e09e20ee8b3 100644 --- a/packaging/pkg_helpers.bash +++ b/packaging/pkg_helpers.bash @@ -43,10 +43,7 @@ setup_cuda() { # CUDA builds (in which case, use default) if [[ -z "$NO_CUDA_PACKAGE" ]]; then export VERSION_SUFFIX="$PYTORCH_VERSION_SUFFIX" - # If the suffix is non-empty, we will use a wheel subdirectory - if [[ -n "$PYTORCH_VERSION_SUFFIX" ]]; then - export WHEEL_DIR="$CU_VERSION/" - fi + export WHEEL_DIR="$CU_VERSION/" fi fi diff --git a/setup.py b/setup.py index 2c469492f0d..74d39697513 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,6 @@ def read(*names, **kwargs): - # testing with io.open( os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")