Skip to content

Commit 0a49a79

Browse files
committed
Remove Python 2 specific code from build
1 parent 3cb8714 commit 0a49a79

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

setup.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,8 @@
1515
JYTHON = sys.platform.startswith("java")
1616
requirements = []
1717

18-
if sys.version_info[0] == 2 or (sys.version_info[0] == 3 and sys.version_info[1] < 3):
19-
requirements.append("ipaddress")
20-
if os.environ.get("SNYK_TOKEN"):
21-
with open("requirements.txt", "w") as f:
22-
for r in requirements:
23-
f.write(r + "\n")
24-
2518
compile_args = ["-Wall", "-Wextra"]
2619

27-
if sys.version_info[0] == 2:
28-
compile_args.append("-fno-strict-aliasing")
29-
3020
ext_module = [
3121
Extension(
3222
"maxminddb.extension",

0 commit comments

Comments
 (0)