From caa39033ccffc81f64e217043ffdc4d7f74c5a9f Mon Sep 17 00:00:00 2001 From: areski Date: Thu, 6 Feb 2014 12:57:11 +0100 Subject: [PATCH] fix setup with requirement.txt file --- CHANGELOG.rst | 6 ++++++ MANIFEST.in | 1 + admin_tools_stats/__init__.py | 2 +- setup.py | 6 ++---- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e609f401..69072b2e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ Changelog ========= +0.5.5 (2014-02-06) +------------------- + +* fix setup with requirement.txt file + + 0.5.4 (2014-02-06) ------------------- diff --git a/MANIFEST.in b/MANIFEST.in index 49541122..e0c394e9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,7 @@ global-exclude *.pyc include README.rst include MIT-LICENSE.txt +include requirements.txt recursive-include admin_tools_stats * recursive-include docs * diff --git a/admin_tools_stats/__init__.py b/admin_tools_stats/__init__.py index bf398efb..fcbbbd71 100644 --- a/admin_tools_stats/__init__.py +++ b/admin_tools_stats/__init__.py @@ -9,7 +9,7 @@ # Arezqui Belaid # -VERSION = (0, 5, 4, "final", 0) # edit also docs/source/conf.py +VERSION = (0, 5, 5, "final", 0) # edit also docs/source/conf.py def get_version(): diff --git a/setup.py b/setup.py index cbe03259..cbfd1a38 100644 --- a/setup.py +++ b/setup.py @@ -4,10 +4,8 @@ import admin_tools_stats -def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() - -README = read('README.rst') +def read(*parts): + return open(os.path.join(os.path.dirname(__file__), *parts)).read() def parse_requirements(file_name):