~ubuntu-branches/ubuntu/lucid/gdecrypt/lucid

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Kjell Braden
  • Date: 2008-02-10 14:25:46 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142546-pxn30eknwkaa377n
Tags: 0.7.1-0ubuntu1
* New upstream release (LP: #190671)
  - Fix several crasher bugs (LP: #190641, #190558)
* Upstream changelog moved from changelog.gz to changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
 
44
44
# look/set what version we have
45
 
changelog = "changelog.gz"
 
45
changelog = "changelog"
46
46
if os.path.exists(changelog):
47
 
        head=gzip.GzipFile(changelog).readline()
 
47
        head=open(changelog).readline()
48
48
        match = re.compile(".* (.*) .*").match(head)
49
49
        if match:
50
50
                version = match.group(1)