packaging

This commit is contained in:
Olivier R-D 2013-04-02 09:51:29 +02:00
parent f8532d36b9
commit 4582eb18b3
2 changed files with 8 additions and 5 deletions

View File

@ -8,10 +8,13 @@ from email.utils import formatdate
DEBVERSION = "0.5" DEBVERSION = "0.5"
#rev = subprocess.check_output("bzr version-info --check-clean --custom --template='{revno}'", shell=True) rev = subprocess.check_output("git log -1 --format=\'%ad--%h\' --date=short", shell=True)
#bzrstring = "bzr" + str(rev).replace("'","") rev = rev.strip()
vcsstring = "gitxxx" rev = str(rev).replace("'","")
#rev = rev.replace(" ", "T", 1)
#ev = rev.replace(" ", "Z", 1)
vcsstring = "git" + rev
def get_changelog(progname, version, changelog, date): def get_changelog(progname, version, changelog, date):
""" """

View File

@ -4,11 +4,11 @@ from distutils.command.install_data import install_data
import make_deb import make_deb
setup (name = "python-ur", setup (name = "python-urx",
version = make_deb.vcsstring, version = make_deb.vcsstring,
description = "Python library to control an UR robot", description = "Python library to control an UR robot",
author = "Olivier Roulet-Dubonnet", author = "Olivier Roulet-Dubonnet",
url = 'http://launchpad.net/XXX', url = 'https://github.com/oroulet/python-urx',
packages = ["urx"], packages = ["urx"],
provides = ["urx"], provides = ["urx"],
license = "GNU General Public License v3", license = "GNU General Public License v3",