Permalink
Browse files

adds rudimentary setup.py and moves apps inside basic namespace

  • Loading branch information...
1 parent 5b2b9a2 commit 922f1bfc2326661bdabdf7468ca694eef0f8d0e8 @ipmb ipmb committed Apr 23, 2009
Showing with 36 additions and 0 deletions.
  1. 0 { → basic}/__init__.py
  2. 0 { → basic}/blog/__init__.py
  3. 0 { → basic}/blog/admin.py
  4. 0 { → basic}/blog/feeds.py
  5. 0 { → basic}/blog/managers.py
  6. 0 { → basic}/blog/models.py
  7. 0 { → basic}/blog/sitemap.py
  8. 0 { → basic}/blog/templates/admin/blog/post/change_form.html
  9. 0 { → basic}/blog/templates/base.html
  10. 0 { → basic}/blog/templates/blog/base_blog.html
  11. 0 { → basic}/blog/templates/blog/category_detail.html
  12. 0 { → basic}/blog/templates/blog/category_list.html
  13. 0 { → basic}/blog/templates/blog/post_archive_day.html
  14. 0 { → basic}/blog/templates/blog/post_archive_month.html
  15. 0 { → basic}/blog/templates/blog/post_archive_year.html
  16. 0 { → basic}/blog/templates/blog/post_detail.html
  17. 0 { → basic}/blog/templates/blog/post_list.html
  18. 0 { → basic}/blog/templates/blog/post_search.html
  19. 0 { → basic}/blog/templates/feeds/posts_description.html
  20. 0 { → basic}/blog/templates/feeds/posts_title.html
  21. 0 { → basic}/blog/templates/inlines/default.html
  22. 0 { → basic}/blog/templatetags/__init__.py
  23. 0 { → basic}/blog/templatetags/blog.py
  24. 0 { → basic}/blog/tests.py
  25. 0 { → basic}/blog/urls.py
  26. 0 { → basic}/blog/views.py
  27. 0 { → basic}/bookmarks/__init__.py
  28. 0 { → basic}/bookmarks/admin.py
  29. 0 { → basic}/bookmarks/models.py
  30. 0 { → basic}/bookmarks/templates/base.html
  31. 0 { → basic}/bookmarks/templates/bookmarks/base_bookmarks.html
  32. 0 { → basic}/bookmarks/tests.py
  33. 0 { → basic}/bookmarks/urls.py
  34. 0 { → basic}/bookmarks/views.py
  35. 0 { → basic}/books/__init__.py
  36. 0 { → basic}/books/admin.py
  37. 0 { → basic}/books/fixtures/authors.json
  38. 0 { → basic}/books/fixtures/books.json
  39. 0 { → basic}/books/fixtures/genres.json
  40. 0 { → basic}/books/fixtures/publishers.json
  41. 0 { → basic}/books/models.py
  42. 0 { → basic}/books/templates/base.html
  43. 0 { → basic}/books/templates/books/_nav.html
  44. 0 { → basic}/books/templates/books/base_books.html
  45. 0 { → basic}/books/templates/books/book_detail.html
  46. 0 { → basic}/books/templates/books/book_list.html
  47. 0 { → basic}/books/templates/books/genre_detail.html
  48. 0 { → basic}/books/templates/books/genre_list.html
  49. 0 { → basic}/books/templates/books/publisher_detail.html
  50. 0 { → basic}/books/templates/books/publisher_list.html
  51. 0 { → basic}/books/urls.py
  52. 0 { → basic}/events/__init__.py
  53. 0 { → basic}/events/admin.py
  54. 0 { → basic}/events/models.py
  55. 0 { → basic}/events/templates/base.html
  56. 0 { → basic}/events/templates/events/base_events.html
  57. 0 { → basic}/events/templates/events/eventtime_archive_day.html
  58. 0 { → basic}/events/templates/events/eventtime_archive_month.html
  59. 0 { → basic}/events/templates/events/eventtime_archive_year.html
  60. 0 { → basic}/events/templates/events/eventtime_detail.html
  61. 0 { → basic}/events/templates/events/eventtime_list.html
  62. 0 { → basic}/events/templatetags/__init__.py
  63. 0 { → basic}/events/templatetags/events.py
  64. 0 { → basic}/events/tests.py
  65. 0 { → basic}/events/urls.py
  66. 0 { → basic}/events/views.py
  67. 0 { → basic}/inlines/__init__.py
  68. 0 { → basic}/inlines/admin.py
  69. 0 { → basic}/inlines/models.py
  70. 0 { → basic}/inlines/parser.py
  71. 0 { → basic}/inlines/templatetags/__init__.py
  72. 0 { → basic}/inlines/templatetags/inlines.py
  73. 0 { → basic}/media/__init__.py
  74. 0 { → basic}/media/admin.py
  75. 0 { → basic}/media/models.py
  76. 0 { → basic}/media/templates/base.html
  77. 0 { → basic}/media/templates/media/base_audio.html
  78. 0 { → basic}/media/templates/media/base_photos.html
  79. 0 { → basic}/media/templates/media/base_videos.html
  80. 0 { → basic}/media/templates/media/photo_detail.html
  81. 0 { → basic}/media/templates/media/photo_list.html
  82. 0 { → basic}/media/templates/media/photoset_detail.html
  83. 0 { → basic}/media/templates/media/photoset_list.html
  84. 0 { → basic}/media/templates/media/video_detail.html
  85. 0 { → basic}/media/templates/media/video_list.html
  86. 0 { → basic}/media/templates/media/videoset_detail.html
  87. 0 { → basic}/media/templates/media/videoset_list.html
  88. 0 { → basic}/media/urls/__init__.py
  89. 0 { → basic}/media/urls/photos.py
  90. 0 { → basic}/media/urls/videos.py
  91. 0 { → basic}/movies/__init__.py
  92. 0 { → basic}/movies/admin.py
  93. 0 { → basic}/movies/models.py
  94. 0 { → basic}/movies/templates/base.html
  95. 0 { → basic}/movies/templates/movies/_nav.html
  96. 0 { → basic}/movies/templates/movies/base_movies.html
  97. 0 { → basic}/movies/templates/movies/genre_detail.html
  98. 0 { → basic}/movies/templates/movies/genre_list.html
  99. 0 { → basic}/movies/templates/movies/movie_detail.html
  100. 0 { → basic}/movies/templates/movies/movie_list.html
  101. 0 { → basic}/movies/templates/movies/studio_detail.html
  102. 0 { → basic}/movies/templates/movies/studio_list.html
  103. 0 { → basic}/movies/urls.py
  104. 0 { → basic}/music/__init__.py
  105. 0 { → basic}/music/admin.py
  106. 0 { → basic}/music/models.py
  107. 0 { → basic}/music/templates/base.html
  108. 0 { → basic}/music/templates/music/_nav.html
  109. 0 { → basic}/music/templates/music/album_detail.html
  110. 0 { → basic}/music/templates/music/album_list.html
  111. 0 { → basic}/music/templates/music/band_detail.html
  112. 0 { → basic}/music/templates/music/band_list.html
  113. 0 { → basic}/music/templates/music/base_music.html
  114. 0 { → basic}/music/templates/music/genre_detail.html
  115. 0 { → basic}/music/templates/music/genre_list.html
  116. 0 { → basic}/music/templates/music/index.html
  117. 0 { → basic}/music/templates/music/label_detail.html
  118. 0 { → basic}/music/templates/music/label_list.html
  119. 0 { → basic}/music/templates/music/track_detail.html
  120. 0 { → basic}/music/templates/music/track_list.html
  121. 0 { → basic}/music/urls.py
  122. 0 { → basic}/music/views.py
  123. 0 { → basic}/people/__init__.py
  124. 0 { → basic}/people/admin.py
  125. 0 { → basic}/people/fixtures/initial_data.json
  126. 0 { → basic}/people/models.py
  127. 0 { → basic}/people/templates/base.html
  128. 0 { → basic}/people/templates/people/base_people.html
  129. 0 { → basic}/people/templates/people/person_detail.html
  130. 0 { → basic}/people/templates/people/person_list.html
  131. 0 { → basic}/people/templates/people/person_quote_list.html
  132. 0 { → basic}/people/templates/people/persontype_detail.html
  133. 0 { → basic}/people/templates/people/persontype_list.html
  134. 0 { → basic}/people/templatetags/__init__.py
  135. 0 { → basic}/people/templatetags/people.py
  136. 0 { → basic}/people/tests.py
  137. 0 { → basic}/people/urls.py
  138. 0 { → basic}/people/views.py
  139. 0 { → basic}/places/__init__.py
  140. 0 { → basic}/places/admin.py
  141. 0 { → basic}/places/models.py
  142. 0 { → basic}/places/templates/base.html
  143. 0 { → basic}/places/templates/places/base_places.html
  144. 0 { → basic}/places/templates/places/city_detail.html
  145. 0 { → basic}/places/templates/places/city_list.html
  146. 0 { → basic}/places/templates/places/place_detail.html
  147. 0 { → basic}/places/templates/places/place_list.html
  148. 0 { → basic}/places/templates/places/placetype_detail.html
  149. 0 { → basic}/places/templates/places/placetype_list.html
  150. 0 { → basic}/places/tests.py
  151. 0 { → basic}/places/urls.py
  152. 0 { → basic}/places/views.py
  153. 0 { → basic}/profiles/__init__.py
  154. 0 { → basic}/profiles/admin.py
  155. 0 { → basic}/profiles/fixtures/initial_data.json
  156. 0 { → basic}/profiles/fixtures/profiles.json
  157. 0 { → basic}/profiles/fixtures/users.json
  158. 0 { → basic}/profiles/forms.py
  159. 0 { → basic}/profiles/models.py
  160. 0 { → basic}/profiles/templates/base.html
  161. 0 { → basic}/profiles/templates/profiles/base_profile.html
  162. 0 { → basic}/profiles/templates/profiles/profile_detail.html
  163. 0 { → basic}/profiles/templates/profiles/profile_form.html
  164. 0 { → basic}/profiles/templates/profiles/profile_list.html
  165. 0 { → basic}/profiles/templatetags/__init__.py
  166. 0 { → basic}/profiles/templatetags/profiles.py
  167. 0 { → basic}/profiles/urls.py
  168. 0 { → basic}/profiles/views.py
  169. 0 { → basic}/relationships/__init__.py
  170. 0 { → basic}/relationships/fixtures/users.json
  171. 0 { → basic}/relationships/models.py
  172. 0 { → basic}/relationships/templates/base.html
  173. 0 { → basic}/relationships/templates/relationships/base_relationships.html
  174. 0 { → basic}/relationships/templates/relationships/relationship_add_confirm.html
  175. 0 { → basic}/relationships/templates/relationships/relationship_add_success.html
  176. 0 { → basic}/relationships/templates/relationships/relationship_delete_confirm.html
  177. 0 { → basic}/relationships/templates/relationships/relationship_delete_success.html
  178. 0 { → basic}/relationships/templatetags/__init__.py
  179. 0 { → basic}/relationships/templatetags/relationships.py
  180. 0 { → basic}/relationships/tests.py
  181. 0 { → basic}/relationships/urls.py
  182. 0 { → basic}/relationships/views.py
  183. +36 −0 setup.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,36 @@
+import os
+
+from distutils.core import setup
+
+def fullsplit(path, result=None):
+ """
+ Split a pathname into components (the opposite of os.path.join) in a
+ platform-neutral way.
+ """
+ if result is None:
+ result = []
+ head, tail = os.path.split(path)
+ if head == "":
+ return [tail] + result
+ if head == path:
+ return result
+ return fullsplit(head, [tail] + result)
+
+package_dir = "basic"
+
+packages = []
+for dirpath, dirnames, filenames in os.walk(package_dir):
+ # ignore dirnames that start with '.'
+ for i, dirname in enumerate(dirnames):
+ if dirname.startswith("."):
+ del dirnames[i]
+ if "__init__.py" in filenames:
+ packages.append(".".join(fullsplit(dirpath)))
+
+setup(name='django-basic-apps',
+ version='0.6',
+ description='Basic Django applications',
+ author='Nathan Borror',
+ #author_email='',
+ url='http://code.google.com/p/django-basic-apps/',
+ packages=packages)

0 comments on commit 922f1bf

Please sign in to comment.