diff options
author | Arthur Darcet <arthur.darcet@m4x.org> | 2013-05-10 10:59:18 +0200 |
---|---|---|
committer | Arthur Darcet <arthur.darcet@m4x.org> | 2013-05-10 12:04:23 +0200 |
commit | b3544c648de03322ed1a1599216f63383976ef08 (patch) | |
tree | 8cbde37e41019eae4aa80f70346c5cf9454fa74f /setup.py | |
parent | e951142f77402cd4e0bdca69ea4aea5bb466c310 (diff) | |
download | python-slugify-b3544c648de03322ed1a1599216f63383976ef08.tar.gz |
Support python3
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -60,9 +60,9 @@ def get_package_data(package): if sys.argv[-1] == 'publish': os.system("python setup.py sdist upload") args = {'version': get_version(package)} - print "You probably want to also tag the version now:" - print " git tag -a %(version)s -m 'version %(version)s'" % args - print " git push --tags" + print("You probably want to also tag the version now:") + print(" git tag -a %(version)s -m 'version %(version)s'" % args) + print(" git push --tags") sys.exit() @@ -77,7 +77,8 @@ setup( packages=get_packages(package), package_data=get_package_data(package), install_requires=install_requires, - classifiers=classifiers + classifiers=classifiers, + use_2to3=True, ) |