From 875c1bdfa748088a8771673596ab3de8a24f8f9e Mon Sep 17 00:00:00 2001 From: Nick Janetakis Date: Thu, 11 Sep 2014 19:09:57 -0400 Subject: [PATCH] Move the README template to data/ --- CHANGELOG.md | 4 ++++ RELEASES.txt | 1 + VERSION | 2 +- ansigenome/constants.py | 3 +-- ansigenome/data/{templates => }/README.md.j2 | 0 setup.py | 2 +- 6 files changed, 8 insertions(+), 4 deletions(-) rename ansigenome/data/{templates => }/README.md.j2 (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 647c76f..5cec544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.4.6 + +- Attempt to fix the readme template's path in the data/ dir + ## v0.4.5 - Fix the VERSION file in setup.py and remove the old templates dir diff --git a/RELEASES.txt b/RELEASES.txt index 9e7f7fe..6c3a051 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -1,5 +1,6 @@ Version Release date --------------------------- +v0.4.6 09/11/2014 v0.4.5 09/11/2014 v0.4.4 09/11/2014 v0.4.3 09/11/2014 diff --git a/VERSION b/VERSION index 0bfccb0..ef52a64 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.5 +0.4.6 diff --git a/ansigenome/constants.py b/ansigenome/constants.py index 061655e..b58d040 100644 --- a/ansigenome/constants.py +++ b/ansigenome/constants.py @@ -96,8 +96,7 @@ ANSIBLE_FOLDERS = ("defaults", "handlers", "meta", "tasks", "templates", "tests", "vars") -README_TEMPLATE_PATH = os.path.join(PACKAGE_RESOURCE, - "templates", "README.md.j2") +README_TEMPLATE_PATH = os.path.join(PACKAGE_RESOURCE, "README.md.j2") DEFAULT_META_FILE = """--- diff --git a/ansigenome/data/templates/README.md.j2 b/ansigenome/data/README.md.j2 similarity index 100% rename from ansigenome/data/templates/README.md.j2 rename to ansigenome/data/README.md.j2 diff --git a/setup.py b/setup.py index 44a7d36..c8c6eed 100755 --- a/setup.py +++ b/setup.py @@ -20,6 +20,6 @@ license="GPLv3", install_requires=["jinja2", "PyYAML", "setuptools"], packages=["ansigenome"], - package_data={"ansigenome": ["VERSION", "data/*", "data/templates/*"]}, + package_data={"ansigenome": ["VERSION", "data/*"]}, scripts=["bin/ansigenome"], data_files=[])