Skip to content

Commit

Permalink
updated description and reads version from "version.txt"
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed May 10, 2004
1 parent 7552e1c commit 50438db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
".",
];

descr = "pylzma package"
descr = "Python bindings for the LZMA library by Igor Pavlov."
try: version = open('version.txt', 'rb').read().strip()
except: version = 'unknown'
modules = ['py7zlib']
c_files = ['pylzma.c', 'pylzma_encoder.cpp', 'pylzma_decompressobj.c', 'pylzma_compressobj.cpp',
'pylzma_compressfile.cpp', 'pylzma_decompress.c', 'pylzma_compress.cpp']
Expand All @@ -62,7 +64,7 @@
library_dirs=library_dirs, define_macros=macros)]

setup (name = "pylzma",
version = "0.0.1",
version = version,
description = descr,
author = "Joachim Bauch",
author_email = "[email protected]",
Expand Down

0 comments on commit 50438db

Please sign in to comment.