diff options
| author | Barry Warsaw | 2014-04-15 12:06:01 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2014-04-15 12:06:01 -0400 |
| commit | cd5f7984f5f7037ba3d0288076a1456c6b83da95 (patch) | |
| tree | 521db66e8ad8adbd9ef28d59eb6899339133821a /setup.py | |
| parent | 050212b8e909f881b3dcc5fa617812b8f18010d5 (diff) | |
| download | mailman-cd5f7984f5f7037ba3d0288076a1456c6b83da95.tar.gz mailman-cd5f7984f5f7037ba3d0288076a1456c6b83da95.tar.zst mailman-cd5f7984f5f7037ba3d0288076a1456c6b83da95.zip | |
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License along with # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. -from distribute_setup import use_setuptools -use_setuptools() +# Do *not* import unicode_literals. This breaks setuptools. +from __future__ import absolute_import, print_function import re import sys @@ -25,7 +25,7 @@ from setuptools import setup, find_packages from string import Template if sys.hexversion < 0x20700f0: - print 'Mailman requires at least Python 2.7' + print('Mailman requires at least Python 2.7') sys.exit(1) @@ -37,7 +37,7 @@ with open('src/mailman/version.py') as fp: __version__ = mo.group('version') break else: - print 'No version number found' + print('No version number found') sys.exit(1) |
