From a0ac184842f4165b5793b5165746e383b4cf0c6b Mon Sep 17 00:00:00 2001 From: Tom Walker Date: Mon, 30 Jun 2014 19:49:46 +0100 Subject: [PATCH] preparing for release --- MANIFEST.in | 4 ++++ README.md | 16 +++++++++------- requirements.txt | 2 ++ setup.py | 31 +++++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 MANIFEST.in create mode 100644 requirements.txt create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..fc26509 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include README.md +recursive-include quiz/templates * +recursive-include multichoice/templates * +recursive-include true_false/templates * \ No newline at end of file diff --git a/README.md b/README.md index 57a5e67..eca8420 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,9 @@ This is a configurable quiz app for Django. I use it to run a few medical revision websites. Here is an [example website](http://www.revisemrcp.com/) -My websites have used twitter bootstrap for the front end and I have tried to strip out anything from +My websites have used twitter bootstrap for the front end and I have tried to strip out anything from the template files that are dependant on bootstrap. -This is a major work in progress. - Current features ---------------- Features of each quiz: @@ -17,15 +15,19 @@ Features of each quiz: * Storing of quiz results under each user * Previous quiz scores can be viewed on category page * Correct answers can be shown after each question or all at once at the end -* Logged in users can return to an incomplete quiz to finish it - -Multiple choice questions +* Logged in users can return to an incomplete quiz to finish it and non-logged in users can complete a quiz if their session persists +* The quiz can be limited to one attempt per user * Questions can be given a category * Success rate for each category can be monitored on a progress page * Explanation for each question result can be given +* Multiple choice question type +* True/False question type +Requirements +------------ +django-model-utils 2.0.3 -It was developed using Django 1.4.1. +It was developed using Django 1.6.5 This is my first open source project so please forgive any problems and/or dreadful code! diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..bd8fabb --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +django-model-utils==2.0.3 +Django==1.6.5 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ecb045f --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +import os +from setuptools import setup + +README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read() + +os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) + +setup( + name='django-quiz', + version='0.3', + packages=['quiz', 'multichoice', 'true_false'], + include_package_data=True, + license='MIT License', + description='A configurable quiz app for Django.', + long_description=README, + url='https://github.com/tomwalker/django_quiz', + author='Tom Walker', + author_email='tomwalker0472@gmail.com', + classifiers=[ + 'Environment :: Web Environment', + 'Framework :: Django', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', + ], +) -- 2.39.5