diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..90a404d --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include LICENSE +include README.md +recursive-include pyBuchaktion/templates * +recursive-include pyBuchaktion/locale * diff --git a/README.md b/README.md index d5eab67..2f23de5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The purpose of the app is to build an interface for participants of the Buchakti Development ---- Everyone with interest in helping us, should now that: -* for testing use the D120 Django CMS. +* for testing use the D120 Django CMS. * Read [this](https://github.com/d120/pyBuchaktion/wiki/Testing-with-D120-Django-CMS) for further instructions. * we have decided to use the workflow recommended by GitHub. This means: * new feature = new branch @@ -16,12 +16,16 @@ Everyone with interest in helping us, should now that: Documentation ---- -You can find information, a manual and furthermore in the Wiki of this project. +You can find information, a manual and furthermore in the Wiki of this project. Deployment ---------- -To use pyBuchaktion, you will need to configure [pyTUID](https://github.com/d120/pyTUID). As pip currently does not provide a preferred dependency resolution workflow for privately hosted projects, you'll need to start pip with `--process-dependency-links`. +Add `'pyTUID', 'import_export', 'pyBuchaktion'` to your `INSTALLED_APPS` setting. + +Note that you will also need to configure [pyTUID](https://github.com/d120/pyTUID). + +As pip currently does not provide a preferred dependency resolution workflow for git hosted projects, you'll need to start pip with `--process-dependency-links`. License ---- diff --git a/pyBuchaktion/cms_menus.py b/pyBuchaktion/cms_menus.py index 8701115..4c202af 100644 --- a/pyBuchaktion/cms_menus.py +++ b/pyBuchaktion/cms_menus.py @@ -1,10 +1,13 @@ -from menus.base import Menu, NavigationNode, Modifier +from cms.menu_bases import CMSAttachMenu +from menus.base import NavigationNode, Modifier from menus.menu_pool import menu_pool from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import reverse from pyBuchaktion.models import Book, TucanModule, Order -class PyBuchaktionMenu(Menu): +class PyBuchaktionMenu(CMSAttachMenu): + + name = _("Buchaktion Menu") def get_nodes(self, request): diff --git a/setup.py b/setup.py index 22aa02d..686c505 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,6 @@ def run(self): version='0.1', packages=find_packages(), include_package_data=True, - package_data={'': ['locale/*/LC_MESSAGES/*.po']}, license='AGPL-3.0', description='App for the Buchaktion', #long_description=README,