From 999d558c497dcaa36e9d20a365f9e871b18b6aea Mon Sep 17 00:00:00 2001 From: Sean Jensen-Grey Date: Sat, 28 Jan 2012 09:44:10 -0800 Subject: [PATCH] version library in a single location --- chardet/__init__.py | 2 +- setup.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chardet/__init__.py b/chardet/__init__.py index b1872fe..a6e0693 100755 --- a/chardet/__init__.py +++ b/chardet/__init__.py @@ -15,7 +15,7 @@ # 02110-1301 USA ######################### END LICENSE BLOCK ######################### -__version__ = "1.0.1" +__version__ = "1.0.3" def detect(aBuf): import universaldetector diff --git a/setup.py b/setup.py index b64d850..aee4d00 100755 --- a/setup.py +++ b/setup.py @@ -8,9 +8,11 @@ if not hasattr(DistributionMetadata, 'download_url'): DistributionMetadata.download_url = None +import chardet + setup( name = 'chardet', - version = '1.0.3', + version = chardet.__version__, description = 'Universal encoding detector', long_description = """\ Universal character encoding detector