aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorXavier Ordoquy2012-12-02 01:23:03 +0100
committerXavier Ordoquy2012-12-02 01:23:03 +0100
commit364299b0aa0b36db904d1e6f5f6db324d6e53667 (patch)
tree2f1cde1bab498507596cc9dd2ebe5d5f8b5cf830 /setup.py
parentbf8ceca12213ade27f7997819ba82a7ba6d2bb99 (diff)
downloaddjango-rest-framework-364299b0aa0b36db904d1e6f5f6db324d6e53667.tar.bz2
py3 compatible setup.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index f4f2e5c8..dd017c77 100755
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+#from __future__ import unicode_literals
+
from setuptools import setup
import re
import os
@@ -45,9 +47,9 @@ version = get_version('rest_framework')
if sys.argv[-1] == 'publish':
os.system("python setup.py sdist upload")
- print "You probably want to also tag the version now:"
- print " git tag -a %s -m 'version %s'" % (version, version)
- print " git push --tags"
+ print("You probably want to also tag the version now:")
+ print(" git tag -a %s -m 'version %s'" % (version, version))
+ print(" git push --tags")
sys.exit()