{ "info": { "author": "Alisue", "author_email": "lambdalisue@hashnote.net", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "Django Application Package Skeleton\n\nThe following features exists\n\n- Testing demo django test project with ``setup.py``\n\n- Add Django apps required to execute test dynamically\n\n- Automatically update the version number with git\n\nHow to use\n====================\n\n1. Falk this project in your github\n\n2. Rename ``package`` directory as your app name and fix ``setup.py`` as you want\n\n3. Add your app in ``INSTALL_APPS`` in ``tests/settings.py``\n\n\nTesting demo django test project with ``setup.py``\n====================================================================================================\nThere is a simple blog django project in ``tests`` directory so just modify the project as you want\nand add::\n\n $ python setup.py test\n\nwill run the project tests\n\n\nAdd Django apps required to execute test dynamically\n======================================================================================================\nIf your Django app required apps just for testing then you can use ``app_testcase.AppTestCase`` to add\nany django app dynamically in test\n\nIf you create some django field app and you want to test the field with simple ``Book`` model then you\ncan\n\n1. Create an simple app called ``yourfieldname/tests/apps/books``\n\n2. Create simple book models in ``yourfieldname/tests/apps/books/models.py``\n\n3. Use ``yourfieldname.tests.app_testcase.AppTestCase`` insted of ``django.test.TestCase`` and add ``yourfieldname.tests.apps.books`\n in ``install_apps`` field of test case::\n\n from app_testcase import AppTestCase\n \n class YourFieldTestCase(AppTestCase):\n install_apps = [\n 'yourfieldname.tests.apps.books',\n ]\n # write your tests\n\n\nAutomatically update the version number with git\n================================================================================================\nThe original idea came from http://dcreager.net/2010/02/10/setuptools-git-version-numbers/\n\nWhat you need to do is\n\n1. Add annotated or signed tag with the following command::\n\n $ git tag -a 0.1\n\n2. Then your ``git describe`` shows the tag name and ``python setup.py sdist``\n create the tag named version package\n\n3. If you change anything and commit, your ``git describe`` may change and that\n is used as new version number and it become miner version up\n\n4. Add new annotated or signed tag when you release stable version.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/lambdalisue/django-observer/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lambdalisue/django-observer", "keywords": "django signals object field relation generic", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-package-skeleton", "package_url": "https://pypi.org/project/django-package-skeleton/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-package-skeleton/", "project_urls": { "Download": "https://github.com/lambdalisue/django-observer/tarball/master", "Homepage": "https://github.com/lambdalisue/django-observer" }, "release_url": "https://pypi.org/project/django-package-skeleton/0.1-2-gf7bf/", "requires_dist": null, "requires_python": null, "summary": "Skeleton package of Django App Package", "version": "0.1-2-gf7bf" }, "last_serial": 790242, "releases": { "0.1-1-g781a": [ { "comment_text": "", "digests": { "md5": "9b300585601f6de47073f4c04971fbf4", "sha256": "d6fe3ff380d06d71efa33997a34b2fc3fa4b2f591357b6d6ab52997f94193279" }, "downloads": -1, "filename": "django_package_skeleton-0.1_1_g781a-py2.7.egg", "has_sig": false, "md5_digest": "9b300585601f6de47073f4c04971fbf4", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 41834, "upload_time": "2012-01-14T17:37:38", "url": "https://files.pythonhosted.org/packages/84/41/db91378872c4ddcf20adf18d27f9fb1b0ccf2ab186dc5c507d5150e63681/django_package_skeleton-0.1_1_g781a-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "16de2f6626bfac526fadbe07be66d516", "sha256": "4c379755c5d3dcab3410276ecc307fdd375b58f324713dcf4a5cd8d5a01b5a59" }, "downloads": -1, "filename": "django-package-skeleton-0.1-1-g781a.tar.gz", "has_sig": false, "md5_digest": "16de2f6626bfac526fadbe07be66d516", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18065, "upload_time": "2012-01-14T17:37:36", "url": "https://files.pythonhosted.org/packages/60/a1/f2b8d497d1acc64cedf4f0bcd06d37bf98c85c42e2bf339a67a8c17c8c17/django-package-skeleton-0.1-1-g781a.tar.gz" } ], "0.1-2-gf7bf": [ { "comment_text": "", "digests": { "md5": "34d0a22a918d4e0ba5afa473cdad86c9", "sha256": "4dcf2690e8defd6125bb13669a5d92f96165c792b502b1240d2bac440a1ffd6c" }, "downloads": -1, "filename": "django_package_skeleton-0.1_2_gf7bf-py2.7.egg", "has_sig": false, "md5_digest": "34d0a22a918d4e0ba5afa473cdad86c9", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 42593, "upload_time": "2012-01-14T17:53:53", "url": "https://files.pythonhosted.org/packages/2a/3e/756a470e9eb9117437fbbaf7f21ed89241b77182c6453b859eafa9c337d3/django_package_skeleton-0.1_2_gf7bf-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a0fbcdd67923c50a658a184cb27b299c", "sha256": "f39a8b70b8b1621c93c54bb87dd472c91d1ff62732f7af0c6a06baf35045dd67" }, "downloads": -1, "filename": "django-package-skeleton-0.1-2-gf7bf.tar.gz", "has_sig": false, "md5_digest": "a0fbcdd67923c50a658a184cb27b299c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18944, "upload_time": "2012-01-14T17:53:51", "url": "https://files.pythonhosted.org/packages/ab/43/c87d3be3eaa3838a61631141e39e457e66f0ca68f72e96b071ab0d9cb1bc/django-package-skeleton-0.1-2-gf7bf.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34d0a22a918d4e0ba5afa473cdad86c9", "sha256": "4dcf2690e8defd6125bb13669a5d92f96165c792b502b1240d2bac440a1ffd6c" }, "downloads": -1, "filename": "django_package_skeleton-0.1_2_gf7bf-py2.7.egg", "has_sig": false, "md5_digest": "34d0a22a918d4e0ba5afa473cdad86c9", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 42593, "upload_time": "2012-01-14T17:53:53", "url": "https://files.pythonhosted.org/packages/2a/3e/756a470e9eb9117437fbbaf7f21ed89241b77182c6453b859eafa9c337d3/django_package_skeleton-0.1_2_gf7bf-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a0fbcdd67923c50a658a184cb27b299c", "sha256": "f39a8b70b8b1621c93c54bb87dd472c91d1ff62732f7af0c6a06baf35045dd67" }, "downloads": -1, "filename": "django-package-skeleton-0.1-2-gf7bf.tar.gz", "has_sig": false, "md5_digest": "a0fbcdd67923c50a658a184cb27b299c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18944, "upload_time": "2012-01-14T17:53:51", "url": "https://files.pythonhosted.org/packages/ab/43/c87d3be3eaa3838a61631141e39e457e66f0ca68f72e96b071ab0d9cb1bc/django-package-skeleton-0.1-2-gf7bf.tar.gz" } ] }