Skip to content

Commit 7b9c639

Browse files
committed
MNT: Drop Py2 compatibility for tools/
1 parent 72ac8a5 commit 7b9c639

File tree

9 files changed

+0
-26
lines changed

9 files changed

+0
-26
lines changed

tools/apigen.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
PyMVPA project, which we've adapted for NIPY use. PyMVPA is an MIT-licensed
2121
project.
2222
"""
23-
from __future__ import (print_function, division, unicode_literals,
24-
absolute_import)
25-
from builtins import object, open
26-
2723
import os
2824
import re
2925

tools/build_interface_docs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# vi: set ft=python sts=4 ts=4 sw=4 et:
44
"""Script to auto-generate interface docs.
55
"""
6-
from __future__ import print_function, unicode_literals
76
# stdlib imports
87
import os
98
import sys

tools/build_modref_templates.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# vi: set ft=python sts=4 ts=4 sw=4 et:
44
"""Script to auto-generate our API docs.
55
"""
6-
7-
from __future__ import print_function
86
# stdlib imports
97
import os
108
import sys

tools/ex2rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
#
1212
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
1313
"""Helper to automagically generate ReST versions of examples"""
14-
from __future__ import (print_function, division, unicode_literals,
15-
absolute_import)
16-
from builtins import open, str
17-
1814
import os
1915
import sys
2016
import re

tools/github.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
3-
from future import standard_library
4-
standard_library.install_aliases()
5-
from builtins import open
62
import http.client
73
import inspect
84
import simplejson

tools/gitwash_dumper.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/usr/bin/env python
22
''' Checkout gitwash repo into directory and do search replace on name '''
3-
from __future__ import (print_function, division, unicode_literals,
4-
absolute_import)
5-
from builtins import open
6-
73
import os
84
from os.path import join as pjoin
95
import shutil

tools/interfacedocgen.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
PyMVPA project, which we've adapted for NIPY use. PyMVPA is an MIT-licensed
2121
project."""
2222

23-
from __future__ import print_function, unicode_literals
24-
from builtins import object, open
25-
2623
# Stdlib imports
2724
import inspect
2825
import os

tools/make_examples.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
44
This also creates the index.rst file appropriately, makes figures, etc.
55
"""
6-
from __future__ import (print_function, division, unicode_literals,
7-
absolute_import)
8-
from builtins import open
96
from past.builtins import execfile
107
# -----------------------------------------------------------------------------
118
# Library imports

tools/run_examples.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import print_function
32
import os
43
import sys
54
from shutil import rmtree

0 commit comments

Comments
 (0)