Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.558 kb
from fabric.api import local
def distribution_register():
local('python setup.py register')
def distribution_prepare():
local('python setup.py sdist')
def distribution_distribute():
local('python setup.py sdist upload')
def setup(modulename):
samplename = 'sample'
local("gsed -i 's/%s/%s/g' setup.py" % (samplename, modulename))
local("mv %s %s" % (samplename, modulename))
local("mv bin/%sscript bin/%sscript" % (samplename, modulename))
local("gsed -i 's/%s/%s/g' bin/%sscript" % (samplename, modulename, modulename))
Jump to Line
Something went wrong with that request. Please try again.