Skip to content

Commit

Permalink
fabfile: Future-proof code by making it Python 3 compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rogério Brito committed Jan 28, 2015
1 parent bf02762 commit cb89e7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fabfile.py
Expand Up @@ -2,6 +2,8 @@
# Fabric configuration - http://www.fabfile.org/
#

from __future__ import print_function

import errno
import os

Expand Down Expand Up @@ -69,7 +71,7 @@ def release():
"""Release a new version"""
release_check()
build()
print "Releasing", env.projname, "version", env.version
print("Releasing %s version %s." % (env.projname, env.version))
local("git tag %s" % env.version)
local("python setup.py sdist upload")
local("git push --tags")

0 comments on commit cb89e7c

Please sign in to comment.