env.project_root = "./"
env.develop = False
env.autoremove = True
-env.packages = ['snf-pithos-lib', 'snf-pithos-backend', 'snf-pithos-app',
- 'snf-pithos-tools']
+env.packages = ['snf-pithos-backend', 'snf-pithos-app', 'snf-pithos-tools']
env.capture = False
env.colors = True
env.pypi_root = 'pypi'
def build_pkg(p):
info ("building package: %s" % p)
with lcd(package_root(p)):
- local("rm -r dist build")
+ try:
+ local("rm -r dist build")
+ except:
+ pass
local("python setup.py egg_info -d sdist")
# Debian packaging helpers
#
-env.debian_branch = 'debian-0.8'
-env.deb_packages = ['snf-pithos-lib', 'snf-pithos-backend',
- 'snf-pithos-tools', 'snf-pithos-app']
-env.signdebs = True
+env.debian_branch = 'debian-0.9'
+env.deb_packages = ['snf-pithos-backend', 'snf-pithos-tools', 'snf-pithos-app']
+env.signdebs = False
env.debrelease = False # Increase release number in Debian changelogs
env.upstream = 'packaging'
env.debrelease = True
-def nosigndebs():
- env.signdebs = False
+def signdebs():
+ env.signdebs = True
-def builddeb(p, master="packaging", branch="debian-0.8"):
+def builddeb(p, master="packaging", branch="debian-0.9"):
with co(branch):
info("Building debian package for %s" % p)
with lcd(package_root(p)):
info("Done building debian package for %s" % p)
-def builddeball(b="debian-0.8"):
+def builddeball(b="debian-0.9"):
for p in env.deb_packages:
builddeb(p=p, branch=b)