packaging
This commit is contained in:
parent
fb44bdd905
commit
5e9f769ed9
@ -8,10 +8,13 @@ from email.utils import formatdate
|
||||
|
||||
DEBVERSION = "0.5"
|
||||
|
||||
#rev = subprocess.check_output("bzr version-info --check-clean --custom --template='{revno}'", shell=True)
|
||||
#bzrstring = "bzr" + str(rev).replace("'","")
|
||||
vcsstring = "gitxxx"
|
||||
rev = subprocess.check_output("git log -1 --format=\'%ad--%h\' --date=short", shell=True)
|
||||
rev = rev.strip()
|
||||
rev = str(rev).replace("'","")
|
||||
#rev = rev.replace(" ", "T", 1)
|
||||
#ev = rev.replace(" ", "Z", 1)
|
||||
|
||||
vcsstring = "git" + rev
|
||||
|
||||
def get_changelog(progname, version, changelog, date):
|
||||
"""
|
||||
|
4
setup.py
4
setup.py
@ -4,11 +4,11 @@ from distutils.command.install_data import install_data
|
||||
|
||||
import make_deb
|
||||
|
||||
setup (name = "python-ur",
|
||||
setup (name = "python-urx",
|
||||
version = make_deb.vcsstring,
|
||||
description = "Python library to control an UR robot",
|
||||
author = "Olivier Roulet-Dubonnet",
|
||||
url = 'http://launchpad.net/XXX',
|
||||
url = 'https://github.com/oroulet/python-urx',
|
||||
packages = ["urx"],
|
||||
provides = ["urx"],
|
||||
license = "GNU General Public License v3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user