From 19d808a2a0b75f32fc353df9403377cdcfd6747c Mon Sep 17 00:00:00 2001 From: Carlos de la Guardia Date: Thu, 10 Dec 2020 16:33:24 -0600 Subject: [PATCH] Make sure jinja templates are included in distribution --- HISTORY.rst | 8 ++++---- MANIFEST.in | 2 ++ README.rst | 1 + setup.py | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 5bfdf23..364d795 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -22,11 +22,11 @@ History * Update dependencies to lastest versions. 0.5.0a2 (2020-12-09) -------------- +-------------------- * Fix bug with form parameters in from_json conversion. -0.5.0a3 (dev) -------------- +0.5.0a3 (2020-12-10) +-------------------- -* Unreleased. +* Make sure jinja templates are included in manifest. diff --git a/MANIFEST.in b/MANIFEST.in index 1338393..dc339d6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,3 +9,5 @@ recursive-exclude * __pycache__ recursive-exclude * *.py[co] recursive-include docs *.rst *.txt conf.py Makefile make.bat *.jpg *.png *.gif + +recursive-include questions *.jinja diff --git a/README.rst b/README.rst index 1265cda..5540f23 100644 --- a/README.rst +++ b/README.rst @@ -38,6 +38,7 @@ benefits: questions to show depending on the answers to previous ones. * Complex forms can be defined easily using class composition. * Easy multi-page forms, with no state-keeping headaches. +* Import forms directly from JSON definitions using SurveyJS form creator. * Minimal code for simple apps. If you just need a form or two, you are set. * Zero Javascript code option. If you can use a CDN, no need to install or download any javascript. diff --git a/setup.py b/setup.py index acf3ee9..8eb6406 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/cguardia/questions', - version='0.5.0a3dev', + version='0.5.0a3', zip_safe=False, )