From 50438dbe269161620d9109194e4d39d2465aaa21 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Mon, 10 May 2004 21:23:29 +0000 Subject: [PATCH] updated description and reads version from "version.txt" --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index abf918b..ba5b093 100644 --- a/setup.py +++ b/setup.py @@ -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'] @@ -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 = "mail@joachim-bauch.de",