diff --git a/jaraco/path.py b/jaraco/path.py
index <HASH>..<HASH> 100644
--- a/jaraco/path.py
+++ b/jaraco/path.py
@@ -17,6 +17,8 @@ import datetime
 import glob

 import tempfile

 

+from six.moves import map

+

 log = logging.getLogger(__name__)

 

 def get_unique_pathname(path, root = ''):

@@ -32,7 +34,7 @@ def __get_numbered_paths(filepath):
 	"""Append numbers in sequential order to the filename or folder name

 	Numbers should be appended before the extension on a filename."""

 	format = '%s (%%d)%s' % splitext_files_only(filepath)

-	return itertools.imap(lambda n: format % n, itertools.count(1))

+	return map(lambda n: format % n, itertools.count(1))

 

 def splitext_files_only(filepath):

 	"Custom version of splitext that doesn't perform splitext on directories"

diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,6 +25,7 @@ setup_params = dict(
 	url="https://bitbucket.org/jaraco/jaraco.path",

 	packages=setuptools.find_packages(),

 	install_requires=[

+		'six',

 	],

 	setup_requires=[

 		'setuptools_scm',
Fix invalid use of imap by using six.