Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Organizing code into a proper python package

  • Loading branch information...
commit 1ec3c96c476d07f90c0b40e6754289815116af59 1 parent e921351
@rosskarchner rosskarchner authored
Showing with 62 additions and 0 deletions.
  1. +25 −0 MANIFEST
  2. +5 −0 MANIFEST.in
  3. 0  README → README.markdown
  4. BIN  dist/django-nudge-0.5.tar.gz
  5. +32 −0 setup.py
  6. 0  {templatetags → src/nudge}/__init__.py
  7. 0  { → src/nudge}/admin.py
  8. 0  { → src/nudge}/client.py
  9. 0  {management/commands → src/nudge/demo}/__init__.py
  10. 0  { → src/nudge}/demo/admin.py
  11. 0  { → src/nudge}/demo/models.py
  12. 0  { → src/nudge}/demo/tests.py
  13. 0  { → src/nudge}/demo/views.py
  14. 0  { → src/nudge}/exceptions.py
  15. 0  { → src/nudge}/management/__init__.py
  16. 0  {demo → src/nudge/management/commands}/__init__.py
  17. 0  { → src/nudge}/management/commands/nudgeinit.py
  18. 0  { → src/nudge}/management/commands/regenerate_key.py
  19. 0  { → src/nudge}/models.py
  20. 0  { → src/nudge}/server.py
  21. 0  { → src/nudge}/templates/500.html
  22. 0  { → src/nudge}/templates/admin/nudge/app_index.html
  23. 0  { → src/nudge}/templates/admin/nudge/batch/change_form.html
  24. 0  { → src/nudge}/templates/admin/nudge/batch/read_only.html
  25. 0  { → src/nudge}/templates/admin/nudge/batch/submit_line.html
  26. 0  { → src/nudge}/templates/admin/nudge/index.html
  27. 0  { → src/nudge}/templates/admin/nudge/setting/change_form.html
  28. 0  { → src/nudge}/templates/admin/nudge/setting/change_list.html
  29. 0  { → src/nudge/templatetags}/__init__.py
  30. 0  { → src/nudge}/templatetags/nudge_admin_helpers.py
  31. 0  { → src/nudge}/templatetags/version_display.py
  32. 0  { → src/nudge}/tests.py
  33. 0  { → src/nudge}/urls.py
  34. 0  { → src/nudge}/utils.py
  35. 0  { → src/nudge}/views.py
View
25 MANIFEST
@@ -0,0 +1,25 @@
+README.markdown
+setup.py
+src/nudge/__init__.py
+src/nudge/admin.py
+src/nudge/client.py
+src/nudge/exceptions.py
+src/nudge/models.py
+src/nudge/server.py
+src/nudge/tests.py
+src/nudge/urls.py
+src/nudge/utils.py
+src/nudge/views.py
+src/nudge/demo/__init__.py
+src/nudge/demo/admin.py
+src/nudge/demo/models.py
+src/nudge/demo/tests.py
+src/nudge/demo/views.py
+src/nudge/templates/500.html
+src/nudge/templates/admin/nudge/app_index.html
+src/nudge/templates/admin/nudge/index.html
+src/nudge/templates/admin/nudge/batch/change_form.html
+src/nudge/templates/admin/nudge/batch/read_only.html
+src/nudge/templates/admin/nudge/batch/submit_line.html
+src/nudge/templates/admin/nudge/setting/change_form.html
+src/nudge/templates/admin/nudge/setting/change_list.html
View
5 MANIFEST.in
@@ -0,0 +1,5 @@
+include src/nudge/templates/*.html
+include src/nudge/templates/admin/nudge/*.html
+include src/nudge/templates/admin/nudge/batch/*.html
+include src/nudge/templates/admin/nudge/setting/*.html
+include README.markdown
View
0  README → README.markdown
File renamed without changes
View
BIN  dist/django-nudge-0.5.tar.gz
Binary file not shown
View
32 setup.py
@@ -0,0 +1,32 @@
+from distutils.core import setup
+
+
+# Load in babel support, if available.
+try:
+ from babel.messages import frontend as babel
+ cmdclass = {"compile_catalog": babel.compile_catalog,
+ "extract_messages": babel.extract_messages,
+ "init_catalog": babel.init_catalog,
+ "update_catalog": babel.update_catalog,}
+except ImportError:
+ cmdclass = {}
+
+
+setup(name="django-nudge",
+ version="0.5",
+ description="Use Nudge to (gently) push content between Django servers",
+ author="Joshua Ruihley, Ross Karchner",
+ author_email="dave@etianen.com",
+ url="https://github.com/downloads/jroo/django-nudge/django-nudge-0.5.tar.gz",
+ download_url="http://github.com/downloads/etianen/django-reversion/django-reversion-1.5.1.tar.gz",
+ zip_safe=False,
+ packages=["nudge", "nudge.demo"],
+ package_dir={"": "src"},
+ cmdclass = cmdclass,
+ classifiers=["Development Status :: 4 - Beta",
+ "Environment :: Web Environment",
+ "Intended Audience :: Developers",
+ "License :: Public Domain",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Framework :: Django",])
View
0  templatetags/__init__.py → src/nudge/__init__.py
File renamed without changes
View
0  admin.py → src/nudge/admin.py
File renamed without changes
View
0  client.py → src/nudge/client.py
File renamed without changes
View
0  management/commands/__init__.py → src/nudge/demo/__init__.py 100644 → 100755
File renamed without changes
View
0  demo/admin.py → src/nudge/demo/admin.py
File renamed without changes
View
0  demo/models.py → src/nudge/demo/models.py
File renamed without changes
View
0  demo/tests.py → src/nudge/demo/tests.py
File renamed without changes
View
0  demo/views.py → src/nudge/demo/views.py
File renamed without changes
View
0  exceptions.py → src/nudge/exceptions.py
File renamed without changes
View
0  management/__init__.py → src/nudge/management/__init__.py
File renamed without changes
View
0  demo/__init__.py → src/nudge/management/commands/__init__.py 100755 → 100644
File renamed without changes
View
0  management/commands/nudgeinit.py → src/nudge/management/commands/nudgeinit.py
File renamed without changes
View
0  management/commands/regenerate_key.py → src/nudge/management/commands/regenerate_key.py
File renamed without changes
View
0  models.py → src/nudge/models.py
File renamed without changes
View
0  server.py → src/nudge/server.py
File renamed without changes
View
0  templates/500.html → src/nudge/templates/500.html
File renamed without changes
View
0  templates/admin/nudge/app_index.html → src/nudge/templates/admin/nudge/app_index.html
File renamed without changes
View
0  templates/admin/nudge/batch/change_form.html → ...udge/templates/admin/nudge/batch/change_form.html
File renamed without changes
View
0  templates/admin/nudge/batch/read_only.html → src/nudge/templates/admin/nudge/batch/read_only.html
File renamed without changes
View
0  templates/admin/nudge/batch/submit_line.html → ...udge/templates/admin/nudge/batch/submit_line.html
File renamed without changes
View
0  templates/admin/nudge/index.html → src/nudge/templates/admin/nudge/index.html
File renamed without changes
View
0  templates/admin/nudge/setting/change_form.html → ...ge/templates/admin/nudge/setting/change_form.html
File renamed without changes
View
0  templates/admin/nudge/setting/change_list.html → ...ge/templates/admin/nudge/setting/change_list.html
File renamed without changes
View
0  __init__.py → src/nudge/templatetags/__init__.py
File renamed without changes
View
0  templatetags/nudge_admin_helpers.py → src/nudge/templatetags/nudge_admin_helpers.py
File renamed without changes
View
0  templatetags/version_display.py → src/nudge/templatetags/version_display.py
File renamed without changes
View
0  tests.py → src/nudge/tests.py
File renamed without changes
View
0  urls.py → src/nudge/urls.py
File renamed without changes
View
0  utils.py → src/nudge/utils.py
File renamed without changes
View
0  views.py → src/nudge/views.py
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.