Skip to content

Commit 16fee84

Browse files
vergeevJose Enriquez
authored andcommitted
Remove Python2-related __future__ imports (AcademySoftwareFoundation#1640)
Signed-off-by: Pavel Vergeev <[email protected]> Signed-off-by: Jose Enriquez <[email protected]>
1 parent d26c3e3 commit 16fee84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+0
-156
lines changed

.github/scripts/store_benchmark.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
import os
32
import os.path
43
import json

.github/scripts/validate_benchmark.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
import os.path
32
import sys
43
import json

example_extensions/hello_cmd/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Copyright Contributors to the Rez Project
33

44

5-
from __future__ import print_function, with_statement
65
from setuptools import setup
76

87

install.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
This script uses venv/virtualenv to create a standalone, production-ready Rez
77
installation in the specified directory.
88
"""
9-
from __future__ import print_function
10-
119
import argparse
1210
import os
1311
import platform

release-rez.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
88
Read RELEASE.md before using this utility.
99
"""
10-
from __future__ import print_function
1110
import argparse
1211
import os
1312
from datetime import date
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
from __future__ import print_function
2-
3-
41
def hello():
52
print("Hello world!")

repository/tbb/4.3/install.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import print_function
2-
31
import sys
42
import shutil
53
import os

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# Copyright Contributors to the Rez Project
33

44

5-
from __future__ import print_function, with_statement
6-
75
import fnmatch
86
import os
97
import os.path

src/build_utils/license/change_copyright

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
# dumb script to update copyright notice in a py sourcefile
44
#
5-
from __future__ import print_function
65
import argparse
76
import sys
87
import os

src/rez/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# Copyright Contributors to the Rez Project
33

44

5-
from __future__ import print_function
6-
75
from rez.utils._version import _rez_version
86
import rez.deprecations
97
import sys

0 commit comments

Comments
 (0)