Commit c18cc9b4 authored by Keith Packard's avatar Keith Packard

Fix release nits

Released tarball gets calypso-<version>/ prefix.
Server reports current version at startup.
Egg name downcased to 'calypso'
Signed-off-by: 's avatarKeith Packard <keithp@keithp.com>
parent cddcd65d
......@@ -88,7 +88,7 @@ def _check(request, function):
request.send_calypso_response(client.UNAUTHORIZED, 0)
request.send_header(
"WWW-Authenticate",
"Basic realm=\"Calypso Server - Password Required\"")
"Basic realm=\"Calypso %s - password required\"" % VERSION)
request.end_headers()
# pylint: enable=W0212
......@@ -137,7 +137,7 @@ class CollectionHTTPHandler(server.BaseHTTPRequestHandler):
timeout = 90
server_version = "Calypso/1.0"
server_version = "Calypso/%s" % VERSION
def address_string(self):
return str(self.client_address[0])
......
......@@ -2,10 +2,8 @@
set -e
git checkout debian
VERSION=`python ./calypso.py --version`
git-buildpackage --git-debian-branch=debian
git archive --format=tar.gz -o ../calypso-$VERSION.tar.gz $VERSION
git archive --format=tar.gz --prefix=calypso-$VERSION/ -o ../calypso-$VERSION.tar.gz master
......@@ -65,7 +65,7 @@ class BuildScripts(build_scripts):
# When the version is updated, ``calypso.VERSION`` must be modified.
# A new section in the ``NEWS`` file must be added too.
setup(
name="Calypso",
name="calypso",
version=VERSION,
description="CalDAV and CardDAV Server",
long_description=__doc__,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment