diff --git a/jaraco/imaging.py b/jaraco/imaging.py index 598a98c..9617c34 100644 --- a/jaraco/imaging.py +++ b/jaraco/imaging.py @@ -1,26 +1,22 @@ -# -*- coding: utf-8 -*- - """ Copyright © 2008,2010,2011,2013 Jason R. Coombs """ -from __future__ import division, unicode_literals - import argparse import io import struct import operator +import functools from collections import namedtuple import PIL.Image -import six import pkg_resources import jaraco.clipboard def calc_aspect(size): "aspect = size[0] / size[1] # width/height" - return six.moves.reduce(operator.truediv, size) + return functools.reduce(operator.truediv, size) Dimensions = namedtuple('Dimensions', 'width height') diff --git a/setup.cfg b/setup.cfg index c8a2846..d615013 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,7 +19,6 @@ packages = find_namespace: include_package_data = true python_requires = >=3.6 install_requires = - six jaraco.clipboard pillow setup_requires = setuptools_scm[toml] >= 3.4.1