From d19e216035b14d8f60b24dda0c0670e6997f16ce Mon Sep 17 00:00:00 2001 From: Stephen Burrows Date: Wed, 27 Apr 2011 17:00:35 -0400 Subject: [PATCH] Moved philo files into a philo subdirectory and added a setup.py file. Philo can now be used with distutils. --- LICENSE => philo/LICENSE | 0 __init__.py => philo/__init__.py | 0 {admin => philo/admin}/__init__.py | 0 {admin => philo/admin}/base.py | 0 {admin => philo/admin}/collections.py | 0 {admin => philo/admin}/forms/__init__.py | 0 {admin => philo/admin}/forms/attributes.py | 0 {admin => philo/admin}/forms/containers.py | 0 {admin => philo/admin}/nodes.py | 0 {admin => philo/admin}/pages.py | 0 {admin => philo/admin}/widgets.py | 0 {contrib => philo/contrib}/__init__.py | 0 {contrib => philo/contrib}/julian/__init__.py | 0 {contrib => philo/contrib}/julian/admin.py | 0 .../contrib}/julian/feedgenerator.py | 0 .../julian/migrations/0001_initial.py | 0 .../contrib}/julian/migrations/__init__.py | 0 {contrib => philo/contrib}/julian/models.py | 0 .../contrib}/penfield/__init__.py | 0 {contrib => philo/contrib}/penfield/admin.py | 0 .../contrib}/penfield/exceptions.py | 0 .../contrib}/penfield/middleware.py | 0 .../penfield/migrations/0001_initial.py | 0 .../contrib}/penfield/migrations/0002_auto.py | 0 ...feed_type__add_field_newsletterview_ite.py | 0 ...feed_length__add_field_blogview_feed_le.py | 0 .../contrib}/penfield/migrations/__init__.py | 0 {contrib => philo/contrib}/penfield/models.py | 0 .../penfield/templatetags/__init__.py | 0 .../penfield/templatetags/penfield.py | 0 .../contrib}/penfield/validators.py | 0 .../contrib}/shipherd/__init__.py | 0 {contrib => philo/contrib}/shipherd/admin.py | 0 .../shipherd/migrations/0001_initial.py | 0 .../contrib}/shipherd/migrations/0002_auto.py | 0 .../contrib}/shipherd/migrations/__init__.py | 0 {contrib => philo/contrib}/shipherd/models.py | 0 .../shipherd/templatetags/__init__.py | 0 .../shipherd/templatetags/shipherd.py | 0 {contrib => philo/contrib}/sobol/__init__.py | 0 {contrib => philo/contrib}/sobol/admin.py | 0 {contrib => philo/contrib}/sobol/forms.py | 0 {contrib => philo/contrib}/sobol/models.py | 0 {contrib => philo/contrib}/sobol/search.py | 0 .../admin/sobol/search/grappelli_results.html | 0 .../templates/admin/sobol/search/results.html | 0 .../sobol/templates/search/googlesearch.html | 0 {contrib => philo/contrib}/sobol/utils.py | 0 {contrib => philo/contrib}/waldo/__init__.py | 0 {contrib => philo/contrib}/waldo/forms.py | 0 {contrib => philo/contrib}/waldo/models.py | 0 {contrib => philo/contrib}/waldo/tokens.py | 0 exceptions.py => philo/exceptions.py | 0 .../fixtures}/test_fixtures.json | 0 {forms => philo/forms}/__init__.py | 0 {forms => philo/forms}/entities.py | 0 {forms => philo/forms}/fields.py | 0 {loaders => philo/loaders}/__init__.py | 0 {loaders => philo/loaders}/database.py | 0 middleware.py => philo/middleware.py | 0 .../migrations}/0001_initial.py | 0 .../0002_auto__add_field_attribute_value.py | 0 .../migrations}/0003_move_json.py | 0 ...04_auto__del_field_attribute_json_value.py | 0 .../migrations}/0005_add_attribute_values.py | 0 ..._move_attribute_and_relationship_values.py | 0 ...relationship__del_field_attribute_value.py | 0 ...o__del_field_manytomanyvalue_object_ids.py | 0 ...ield_node_rght__add_field_node_tree_id_.py | 0 ..._node__add_field_redirect_url_or_subpat.py | 0 .../migrations}/0011_move_target_url.py | 0 .../0012_auto__del_field_redirect_target.py | 0 {migrations => philo/migrations}/0013_auto.py | 0 {migrations => philo/migrations}/0014_auto.py | 0 {migrations => philo/migrations}/__init__.py | 0 {models => philo/models}/__init__.py | 0 {models => philo/models}/base.py | 0 {models => philo/models}/collections.py | 0 {models => philo/models}/fields/__init__.py | 0 {models => philo/models}/fields/entities.py | 0 {models => philo/models}/nodes.py | 0 {models => philo/models}/pages.py | 0 signals.py => philo/signals.py | 0 .../static}/admin/js/TagCreation.js | 0 .../grappelli_tabular_attribute.html | 0 .../grappelli_tabular_container.html | 0 .../philo/edit_inline/tabular_attribute.html | 0 .../philo/edit_inline/tabular_container.html | 0 .../templates}/admin/philo/page/add_form.html | 0 .../templatetags}/__init__.py | 0 .../templatetags}/collections.py | 0 .../templatetags}/containers.py | 0 {templatetags => philo/templatetags}/embed.py | 0 .../templatetags}/include_string.py | 0 {templatetags => philo/templatetags}/nodes.py | 0 tests.py => philo/tests.py | 0 urls.py => philo/urls.py | 0 utils.py => philo/utils.py | 0 validators.py => philo/validators.py | 0 views.py => philo/views.py | 0 setup.py | 47 +++++++++++++++++++ 101 files changed, 47 insertions(+) rename LICENSE => philo/LICENSE (100%) rename __init__.py => philo/__init__.py (100%) rename {admin => philo/admin}/__init__.py (100%) rename {admin => philo/admin}/base.py (100%) rename {admin => philo/admin}/collections.py (100%) rename {admin => philo/admin}/forms/__init__.py (100%) rename {admin => philo/admin}/forms/attributes.py (100%) rename {admin => philo/admin}/forms/containers.py (100%) rename {admin => philo/admin}/nodes.py (100%) rename {admin => philo/admin}/pages.py (100%) rename {admin => philo/admin}/widgets.py (100%) rename {contrib => philo/contrib}/__init__.py (100%) rename {contrib => philo/contrib}/julian/__init__.py (100%) rename {contrib => philo/contrib}/julian/admin.py (100%) rename {contrib => philo/contrib}/julian/feedgenerator.py (100%) rename {contrib => philo/contrib}/julian/migrations/0001_initial.py (100%) rename {contrib => philo/contrib}/julian/migrations/__init__.py (100%) rename {contrib => philo/contrib}/julian/models.py (100%) rename {contrib => philo/contrib}/penfield/__init__.py (100%) rename {contrib => philo/contrib}/penfield/admin.py (100%) rename {contrib => philo/contrib}/penfield/exceptions.py (100%) rename {contrib => philo/contrib}/penfield/middleware.py (100%) rename {contrib => philo/contrib}/penfield/migrations/0001_initial.py (100%) rename {contrib => philo/contrib}/penfield/migrations/0002_auto.py (100%) rename {contrib => philo/contrib}/penfield/migrations/0003_auto__add_field_newsletterview_feed_type__add_field_newsletterview_ite.py (100%) rename {contrib => philo/contrib}/penfield/migrations/0004_auto__add_field_newsletterview_feed_length__add_field_blogview_feed_le.py (100%) rename {contrib => philo/contrib}/penfield/migrations/__init__.py (100%) rename {contrib => philo/contrib}/penfield/models.py (100%) rename {contrib => philo/contrib}/penfield/templatetags/__init__.py (100%) rename {contrib => philo/contrib}/penfield/templatetags/penfield.py (100%) rename {contrib => philo/contrib}/penfield/validators.py (100%) rename {contrib => philo/contrib}/shipherd/__init__.py (100%) rename {contrib => philo/contrib}/shipherd/admin.py (100%) rename {contrib => philo/contrib}/shipherd/migrations/0001_initial.py (100%) rename {contrib => philo/contrib}/shipherd/migrations/0002_auto.py (100%) rename {contrib => philo/contrib}/shipherd/migrations/__init__.py (100%) rename {contrib => philo/contrib}/shipherd/models.py (100%) rename {contrib => philo/contrib}/shipherd/templatetags/__init__.py (100%) rename {contrib => philo/contrib}/shipherd/templatetags/shipherd.py (100%) rename {contrib => philo/contrib}/sobol/__init__.py (100%) rename {contrib => philo/contrib}/sobol/admin.py (100%) rename {contrib => philo/contrib}/sobol/forms.py (100%) rename {contrib => philo/contrib}/sobol/models.py (100%) rename {contrib => philo/contrib}/sobol/search.py (100%) rename {contrib => philo/contrib}/sobol/templates/admin/sobol/search/grappelli_results.html (100%) rename {contrib => philo/contrib}/sobol/templates/admin/sobol/search/results.html (100%) rename {contrib => philo/contrib}/sobol/templates/search/googlesearch.html (100%) rename {contrib => philo/contrib}/sobol/utils.py (100%) rename {contrib => philo/contrib}/waldo/__init__.py (100%) rename {contrib => philo/contrib}/waldo/forms.py (100%) rename {contrib => philo/contrib}/waldo/models.py (100%) rename {contrib => philo/contrib}/waldo/tokens.py (100%) rename exceptions.py => philo/exceptions.py (100%) rename {fixtures => philo/fixtures}/test_fixtures.json (100%) rename {forms => philo/forms}/__init__.py (100%) rename {forms => philo/forms}/entities.py (100%) rename {forms => philo/forms}/fields.py (100%) rename {loaders => philo/loaders}/__init__.py (100%) rename {loaders => philo/loaders}/database.py (100%) rename middleware.py => philo/middleware.py (100%) rename {migrations => philo/migrations}/0001_initial.py (100%) rename {migrations => philo/migrations}/0002_auto__add_field_attribute_value.py (100%) rename {migrations => philo/migrations}/0003_move_json.py (100%) rename {migrations => philo/migrations}/0004_auto__del_field_attribute_json_value.py (100%) rename {migrations => philo/migrations}/0005_add_attribute_values.py (100%) rename {migrations => philo/migrations}/0006_move_attribute_and_relationship_values.py (100%) rename {migrations => philo/migrations}/0007_auto__del_relationship__del_field_attribute_value.py (100%) rename {migrations => philo/migrations}/0008_auto__del_field_manytomanyvalue_object_ids.py (100%) rename {migrations => philo/migrations}/0009_auto__add_field_node_lft__add_field_node_rght__add_field_node_tree_id_.py (100%) rename {migrations => philo/migrations}/0010_auto__add_field_redirect_target_node__add_field_redirect_url_or_subpat.py (100%) rename {migrations => philo/migrations}/0011_move_target_url.py (100%) rename {migrations => philo/migrations}/0012_auto__del_field_redirect_target.py (100%) rename {migrations => philo/migrations}/0013_auto.py (100%) rename {migrations => philo/migrations}/0014_auto.py (100%) rename {migrations => philo/migrations}/__init__.py (100%) rename {models => philo/models}/__init__.py (100%) rename {models => philo/models}/base.py (100%) rename {models => philo/models}/collections.py (100%) rename {models => philo/models}/fields/__init__.py (100%) rename {models => philo/models}/fields/entities.py (100%) rename {models => philo/models}/nodes.py (100%) rename {models => philo/models}/pages.py (100%) rename signals.py => philo/signals.py (100%) rename {static => philo/static}/admin/js/TagCreation.js (100%) rename {templates => philo/templates}/admin/philo/edit_inline/grappelli_tabular_attribute.html (100%) rename {templates => philo/templates}/admin/philo/edit_inline/grappelli_tabular_container.html (100%) rename {templates => philo/templates}/admin/philo/edit_inline/tabular_attribute.html (100%) rename {templates => philo/templates}/admin/philo/edit_inline/tabular_container.html (100%) rename {templates => philo/templates}/admin/philo/page/add_form.html (100%) rename {templatetags => philo/templatetags}/__init__.py (100%) rename {templatetags => philo/templatetags}/collections.py (100%) rename {templatetags => philo/templatetags}/containers.py (100%) rename {templatetags => philo/templatetags}/embed.py (100%) rename {templatetags => philo/templatetags}/include_string.py (100%) rename {templatetags => philo/templatetags}/nodes.py (100%) rename tests.py => philo/tests.py (100%) rename urls.py => philo/urls.py (100%) rename utils.py => philo/utils.py (100%) rename validators.py => philo/validators.py (100%) rename views.py => philo/views.py (100%) create mode 100644 setup.py diff --git a/LICENSE b/philo/LICENSE similarity index 100% rename from LICENSE rename to philo/LICENSE diff --git a/__init__.py b/philo/__init__.py similarity index 100% rename from __init__.py rename to philo/__init__.py diff --git a/admin/__init__.py b/philo/admin/__init__.py similarity index 100% rename from admin/__init__.py rename to philo/admin/__init__.py diff --git a/admin/base.py b/philo/admin/base.py similarity index 100% rename from admin/base.py rename to philo/admin/base.py diff --git a/admin/collections.py b/philo/admin/collections.py similarity index 100% rename from admin/collections.py rename to philo/admin/collections.py diff --git a/admin/forms/__init__.py b/philo/admin/forms/__init__.py similarity index 100% rename from admin/forms/__init__.py rename to philo/admin/forms/__init__.py diff --git a/admin/forms/attributes.py b/philo/admin/forms/attributes.py similarity index 100% rename from admin/forms/attributes.py rename to philo/admin/forms/attributes.py diff --git a/admin/forms/containers.py b/philo/admin/forms/containers.py similarity index 100% rename from admin/forms/containers.py rename to philo/admin/forms/containers.py diff --git a/admin/nodes.py b/philo/admin/nodes.py similarity index 100% rename from admin/nodes.py rename to philo/admin/nodes.py diff --git a/admin/pages.py b/philo/admin/pages.py similarity index 100% rename from admin/pages.py rename to philo/admin/pages.py diff --git a/admin/widgets.py b/philo/admin/widgets.py similarity index 100% rename from admin/widgets.py rename to philo/admin/widgets.py diff --git a/contrib/__init__.py b/philo/contrib/__init__.py similarity index 100% rename from contrib/__init__.py rename to philo/contrib/__init__.py diff --git a/contrib/julian/__init__.py b/philo/contrib/julian/__init__.py similarity index 100% rename from contrib/julian/__init__.py rename to philo/contrib/julian/__init__.py diff --git a/contrib/julian/admin.py b/philo/contrib/julian/admin.py similarity index 100% rename from contrib/julian/admin.py rename to philo/contrib/julian/admin.py diff --git a/contrib/julian/feedgenerator.py b/philo/contrib/julian/feedgenerator.py similarity index 100% rename from contrib/julian/feedgenerator.py rename to philo/contrib/julian/feedgenerator.py diff --git a/contrib/julian/migrations/0001_initial.py b/philo/contrib/julian/migrations/0001_initial.py similarity index 100% rename from contrib/julian/migrations/0001_initial.py rename to philo/contrib/julian/migrations/0001_initial.py diff --git a/contrib/julian/migrations/__init__.py b/philo/contrib/julian/migrations/__init__.py similarity index 100% rename from contrib/julian/migrations/__init__.py rename to philo/contrib/julian/migrations/__init__.py diff --git a/contrib/julian/models.py b/philo/contrib/julian/models.py similarity index 100% rename from contrib/julian/models.py rename to philo/contrib/julian/models.py diff --git a/contrib/penfield/__init__.py b/philo/contrib/penfield/__init__.py similarity index 100% rename from contrib/penfield/__init__.py rename to philo/contrib/penfield/__init__.py diff --git a/contrib/penfield/admin.py b/philo/contrib/penfield/admin.py similarity index 100% rename from contrib/penfield/admin.py rename to philo/contrib/penfield/admin.py diff --git a/contrib/penfield/exceptions.py b/philo/contrib/penfield/exceptions.py similarity index 100% rename from contrib/penfield/exceptions.py rename to philo/contrib/penfield/exceptions.py diff --git a/contrib/penfield/middleware.py b/philo/contrib/penfield/middleware.py similarity index 100% rename from contrib/penfield/middleware.py rename to philo/contrib/penfield/middleware.py diff --git a/contrib/penfield/migrations/0001_initial.py b/philo/contrib/penfield/migrations/0001_initial.py similarity index 100% rename from contrib/penfield/migrations/0001_initial.py rename to philo/contrib/penfield/migrations/0001_initial.py diff --git a/contrib/penfield/migrations/0002_auto.py b/philo/contrib/penfield/migrations/0002_auto.py similarity index 100% rename from contrib/penfield/migrations/0002_auto.py rename to philo/contrib/penfield/migrations/0002_auto.py diff --git a/contrib/penfield/migrations/0003_auto__add_field_newsletterview_feed_type__add_field_newsletterview_ite.py b/philo/contrib/penfield/migrations/0003_auto__add_field_newsletterview_feed_type__add_field_newsletterview_ite.py similarity index 100% rename from contrib/penfield/migrations/0003_auto__add_field_newsletterview_feed_type__add_field_newsletterview_ite.py rename to philo/contrib/penfield/migrations/0003_auto__add_field_newsletterview_feed_type__add_field_newsletterview_ite.py diff --git a/contrib/penfield/migrations/0004_auto__add_field_newsletterview_feed_length__add_field_blogview_feed_le.py b/philo/contrib/penfield/migrations/0004_auto__add_field_newsletterview_feed_length__add_field_blogview_feed_le.py similarity index 100% rename from contrib/penfield/migrations/0004_auto__add_field_newsletterview_feed_length__add_field_blogview_feed_le.py rename to philo/contrib/penfield/migrations/0004_auto__add_field_newsletterview_feed_length__add_field_blogview_feed_le.py diff --git a/contrib/penfield/migrations/__init__.py b/philo/contrib/penfield/migrations/__init__.py similarity index 100% rename from contrib/penfield/migrations/__init__.py rename to philo/contrib/penfield/migrations/__init__.py diff --git a/contrib/penfield/models.py b/philo/contrib/penfield/models.py similarity index 100% rename from contrib/penfield/models.py rename to philo/contrib/penfield/models.py diff --git a/contrib/penfield/templatetags/__init__.py b/philo/contrib/penfield/templatetags/__init__.py similarity index 100% rename from contrib/penfield/templatetags/__init__.py rename to philo/contrib/penfield/templatetags/__init__.py diff --git a/contrib/penfield/templatetags/penfield.py b/philo/contrib/penfield/templatetags/penfield.py similarity index 100% rename from contrib/penfield/templatetags/penfield.py rename to philo/contrib/penfield/templatetags/penfield.py diff --git a/contrib/penfield/validators.py b/philo/contrib/penfield/validators.py similarity index 100% rename from contrib/penfield/validators.py rename to philo/contrib/penfield/validators.py diff --git a/contrib/shipherd/__init__.py b/philo/contrib/shipherd/__init__.py similarity index 100% rename from contrib/shipherd/__init__.py rename to philo/contrib/shipherd/__init__.py diff --git a/contrib/shipherd/admin.py b/philo/contrib/shipherd/admin.py similarity index 100% rename from contrib/shipherd/admin.py rename to philo/contrib/shipherd/admin.py diff --git a/contrib/shipherd/migrations/0001_initial.py b/philo/contrib/shipherd/migrations/0001_initial.py similarity index 100% rename from contrib/shipherd/migrations/0001_initial.py rename to philo/contrib/shipherd/migrations/0001_initial.py diff --git a/contrib/shipherd/migrations/0002_auto.py b/philo/contrib/shipherd/migrations/0002_auto.py similarity index 100% rename from contrib/shipherd/migrations/0002_auto.py rename to philo/contrib/shipherd/migrations/0002_auto.py diff --git a/contrib/shipherd/migrations/__init__.py b/philo/contrib/shipherd/migrations/__init__.py similarity index 100% rename from contrib/shipherd/migrations/__init__.py rename to philo/contrib/shipherd/migrations/__init__.py diff --git a/contrib/shipherd/models.py b/philo/contrib/shipherd/models.py similarity index 100% rename from contrib/shipherd/models.py rename to philo/contrib/shipherd/models.py diff --git a/contrib/shipherd/templatetags/__init__.py b/philo/contrib/shipherd/templatetags/__init__.py similarity index 100% rename from contrib/shipherd/templatetags/__init__.py rename to philo/contrib/shipherd/templatetags/__init__.py diff --git a/contrib/shipherd/templatetags/shipherd.py b/philo/contrib/shipherd/templatetags/shipherd.py similarity index 100% rename from contrib/shipherd/templatetags/shipherd.py rename to philo/contrib/shipherd/templatetags/shipherd.py diff --git a/contrib/sobol/__init__.py b/philo/contrib/sobol/__init__.py similarity index 100% rename from contrib/sobol/__init__.py rename to philo/contrib/sobol/__init__.py diff --git a/contrib/sobol/admin.py b/philo/contrib/sobol/admin.py similarity index 100% rename from contrib/sobol/admin.py rename to philo/contrib/sobol/admin.py diff --git a/contrib/sobol/forms.py b/philo/contrib/sobol/forms.py similarity index 100% rename from contrib/sobol/forms.py rename to philo/contrib/sobol/forms.py diff --git a/contrib/sobol/models.py b/philo/contrib/sobol/models.py similarity index 100% rename from contrib/sobol/models.py rename to philo/contrib/sobol/models.py diff --git a/contrib/sobol/search.py b/philo/contrib/sobol/search.py similarity index 100% rename from contrib/sobol/search.py rename to philo/contrib/sobol/search.py diff --git a/contrib/sobol/templates/admin/sobol/search/grappelli_results.html b/philo/contrib/sobol/templates/admin/sobol/search/grappelli_results.html similarity index 100% rename from contrib/sobol/templates/admin/sobol/search/grappelli_results.html rename to philo/contrib/sobol/templates/admin/sobol/search/grappelli_results.html diff --git a/contrib/sobol/templates/admin/sobol/search/results.html b/philo/contrib/sobol/templates/admin/sobol/search/results.html similarity index 100% rename from contrib/sobol/templates/admin/sobol/search/results.html rename to philo/contrib/sobol/templates/admin/sobol/search/results.html diff --git a/contrib/sobol/templates/search/googlesearch.html b/philo/contrib/sobol/templates/search/googlesearch.html similarity index 100% rename from contrib/sobol/templates/search/googlesearch.html rename to philo/contrib/sobol/templates/search/googlesearch.html diff --git a/contrib/sobol/utils.py b/philo/contrib/sobol/utils.py similarity index 100% rename from contrib/sobol/utils.py rename to philo/contrib/sobol/utils.py diff --git a/contrib/waldo/__init__.py b/philo/contrib/waldo/__init__.py similarity index 100% rename from contrib/waldo/__init__.py rename to philo/contrib/waldo/__init__.py diff --git a/contrib/waldo/forms.py b/philo/contrib/waldo/forms.py similarity index 100% rename from contrib/waldo/forms.py rename to philo/contrib/waldo/forms.py diff --git a/contrib/waldo/models.py b/philo/contrib/waldo/models.py similarity index 100% rename from contrib/waldo/models.py rename to philo/contrib/waldo/models.py diff --git a/contrib/waldo/tokens.py b/philo/contrib/waldo/tokens.py similarity index 100% rename from contrib/waldo/tokens.py rename to philo/contrib/waldo/tokens.py diff --git a/exceptions.py b/philo/exceptions.py similarity index 100% rename from exceptions.py rename to philo/exceptions.py diff --git a/fixtures/test_fixtures.json b/philo/fixtures/test_fixtures.json similarity index 100% rename from fixtures/test_fixtures.json rename to philo/fixtures/test_fixtures.json diff --git a/forms/__init__.py b/philo/forms/__init__.py similarity index 100% rename from forms/__init__.py rename to philo/forms/__init__.py diff --git a/forms/entities.py b/philo/forms/entities.py similarity index 100% rename from forms/entities.py rename to philo/forms/entities.py diff --git a/forms/fields.py b/philo/forms/fields.py similarity index 100% rename from forms/fields.py rename to philo/forms/fields.py diff --git a/loaders/__init__.py b/philo/loaders/__init__.py similarity index 100% rename from loaders/__init__.py rename to philo/loaders/__init__.py diff --git a/loaders/database.py b/philo/loaders/database.py similarity index 100% rename from loaders/database.py rename to philo/loaders/database.py diff --git a/middleware.py b/philo/middleware.py similarity index 100% rename from middleware.py rename to philo/middleware.py diff --git a/migrations/0001_initial.py b/philo/migrations/0001_initial.py similarity index 100% rename from migrations/0001_initial.py rename to philo/migrations/0001_initial.py diff --git a/migrations/0002_auto__add_field_attribute_value.py b/philo/migrations/0002_auto__add_field_attribute_value.py similarity index 100% rename from migrations/0002_auto__add_field_attribute_value.py rename to philo/migrations/0002_auto__add_field_attribute_value.py diff --git a/migrations/0003_move_json.py b/philo/migrations/0003_move_json.py similarity index 100% rename from migrations/0003_move_json.py rename to philo/migrations/0003_move_json.py diff --git a/migrations/0004_auto__del_field_attribute_json_value.py b/philo/migrations/0004_auto__del_field_attribute_json_value.py similarity index 100% rename from migrations/0004_auto__del_field_attribute_json_value.py rename to philo/migrations/0004_auto__del_field_attribute_json_value.py diff --git a/migrations/0005_add_attribute_values.py b/philo/migrations/0005_add_attribute_values.py similarity index 100% rename from migrations/0005_add_attribute_values.py rename to philo/migrations/0005_add_attribute_values.py diff --git a/migrations/0006_move_attribute_and_relationship_values.py b/philo/migrations/0006_move_attribute_and_relationship_values.py similarity index 100% rename from migrations/0006_move_attribute_and_relationship_values.py rename to philo/migrations/0006_move_attribute_and_relationship_values.py diff --git a/migrations/0007_auto__del_relationship__del_field_attribute_value.py b/philo/migrations/0007_auto__del_relationship__del_field_attribute_value.py similarity index 100% rename from migrations/0007_auto__del_relationship__del_field_attribute_value.py rename to philo/migrations/0007_auto__del_relationship__del_field_attribute_value.py diff --git a/migrations/0008_auto__del_field_manytomanyvalue_object_ids.py b/philo/migrations/0008_auto__del_field_manytomanyvalue_object_ids.py similarity index 100% rename from migrations/0008_auto__del_field_manytomanyvalue_object_ids.py rename to philo/migrations/0008_auto__del_field_manytomanyvalue_object_ids.py diff --git a/migrations/0009_auto__add_field_node_lft__add_field_node_rght__add_field_node_tree_id_.py b/philo/migrations/0009_auto__add_field_node_lft__add_field_node_rght__add_field_node_tree_id_.py similarity index 100% rename from migrations/0009_auto__add_field_node_lft__add_field_node_rght__add_field_node_tree_id_.py rename to philo/migrations/0009_auto__add_field_node_lft__add_field_node_rght__add_field_node_tree_id_.py diff --git a/migrations/0010_auto__add_field_redirect_target_node__add_field_redirect_url_or_subpat.py b/philo/migrations/0010_auto__add_field_redirect_target_node__add_field_redirect_url_or_subpat.py similarity index 100% rename from migrations/0010_auto__add_field_redirect_target_node__add_field_redirect_url_or_subpat.py rename to philo/migrations/0010_auto__add_field_redirect_target_node__add_field_redirect_url_or_subpat.py diff --git a/migrations/0011_move_target_url.py b/philo/migrations/0011_move_target_url.py similarity index 100% rename from migrations/0011_move_target_url.py rename to philo/migrations/0011_move_target_url.py diff --git a/migrations/0012_auto__del_field_redirect_target.py b/philo/migrations/0012_auto__del_field_redirect_target.py similarity index 100% rename from migrations/0012_auto__del_field_redirect_target.py rename to philo/migrations/0012_auto__del_field_redirect_target.py diff --git a/migrations/0013_auto.py b/philo/migrations/0013_auto.py similarity index 100% rename from migrations/0013_auto.py rename to philo/migrations/0013_auto.py diff --git a/migrations/0014_auto.py b/philo/migrations/0014_auto.py similarity index 100% rename from migrations/0014_auto.py rename to philo/migrations/0014_auto.py diff --git a/migrations/__init__.py b/philo/migrations/__init__.py similarity index 100% rename from migrations/__init__.py rename to philo/migrations/__init__.py diff --git a/models/__init__.py b/philo/models/__init__.py similarity index 100% rename from models/__init__.py rename to philo/models/__init__.py diff --git a/models/base.py b/philo/models/base.py similarity index 100% rename from models/base.py rename to philo/models/base.py diff --git a/models/collections.py b/philo/models/collections.py similarity index 100% rename from models/collections.py rename to philo/models/collections.py diff --git a/models/fields/__init__.py b/philo/models/fields/__init__.py similarity index 100% rename from models/fields/__init__.py rename to philo/models/fields/__init__.py diff --git a/models/fields/entities.py b/philo/models/fields/entities.py similarity index 100% rename from models/fields/entities.py rename to philo/models/fields/entities.py diff --git a/models/nodes.py b/philo/models/nodes.py similarity index 100% rename from models/nodes.py rename to philo/models/nodes.py diff --git a/models/pages.py b/philo/models/pages.py similarity index 100% rename from models/pages.py rename to philo/models/pages.py diff --git a/signals.py b/philo/signals.py similarity index 100% rename from signals.py rename to philo/signals.py diff --git a/static/admin/js/TagCreation.js b/philo/static/admin/js/TagCreation.js similarity index 100% rename from static/admin/js/TagCreation.js rename to philo/static/admin/js/TagCreation.js diff --git a/templates/admin/philo/edit_inline/grappelli_tabular_attribute.html b/philo/templates/admin/philo/edit_inline/grappelli_tabular_attribute.html similarity index 100% rename from templates/admin/philo/edit_inline/grappelli_tabular_attribute.html rename to philo/templates/admin/philo/edit_inline/grappelli_tabular_attribute.html diff --git a/templates/admin/philo/edit_inline/grappelli_tabular_container.html b/philo/templates/admin/philo/edit_inline/grappelli_tabular_container.html similarity index 100% rename from templates/admin/philo/edit_inline/grappelli_tabular_container.html rename to philo/templates/admin/philo/edit_inline/grappelli_tabular_container.html diff --git a/templates/admin/philo/edit_inline/tabular_attribute.html b/philo/templates/admin/philo/edit_inline/tabular_attribute.html similarity index 100% rename from templates/admin/philo/edit_inline/tabular_attribute.html rename to philo/templates/admin/philo/edit_inline/tabular_attribute.html diff --git a/templates/admin/philo/edit_inline/tabular_container.html b/philo/templates/admin/philo/edit_inline/tabular_container.html similarity index 100% rename from templates/admin/philo/edit_inline/tabular_container.html rename to philo/templates/admin/philo/edit_inline/tabular_container.html diff --git a/templates/admin/philo/page/add_form.html b/philo/templates/admin/philo/page/add_form.html similarity index 100% rename from templates/admin/philo/page/add_form.html rename to philo/templates/admin/philo/page/add_form.html diff --git a/templatetags/__init__.py b/philo/templatetags/__init__.py similarity index 100% rename from templatetags/__init__.py rename to philo/templatetags/__init__.py diff --git a/templatetags/collections.py b/philo/templatetags/collections.py similarity index 100% rename from templatetags/collections.py rename to philo/templatetags/collections.py diff --git a/templatetags/containers.py b/philo/templatetags/containers.py similarity index 100% rename from templatetags/containers.py rename to philo/templatetags/containers.py diff --git a/templatetags/embed.py b/philo/templatetags/embed.py similarity index 100% rename from templatetags/embed.py rename to philo/templatetags/embed.py diff --git a/templatetags/include_string.py b/philo/templatetags/include_string.py similarity index 100% rename from templatetags/include_string.py rename to philo/templatetags/include_string.py diff --git a/templatetags/nodes.py b/philo/templatetags/nodes.py similarity index 100% rename from templatetags/nodes.py rename to philo/templatetags/nodes.py diff --git a/tests.py b/philo/tests.py similarity index 100% rename from tests.py rename to philo/tests.py diff --git a/urls.py b/philo/urls.py similarity index 100% rename from urls.py rename to philo/urls.py diff --git a/utils.py b/philo/utils.py similarity index 100% rename from utils.py rename to philo/utils.py diff --git a/validators.py b/philo/validators.py similarity index 100% rename from validators.py rename to philo/validators.py diff --git a/views.py b/philo/views.py similarity index 100% rename from views.py rename to philo/views.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3c18b16 --- /dev/null +++ b/setup.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python + +from distutils.core import setup +import os + + +# Shamelessly cribbed from django's setup.py file. +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) + +# Compile the list of packages available, because distutils doesn't have +# an easy way to do this. Shamelessly cribbed from django's setup.py file. +packages, data_files = [], [] +root_dir = os.path.dirname(__file__) +if root_dir != '': + os.chdir(root_dir) +philo_dir = 'philo' + +for dirpath, dirnames, filenames in os.walk(philo_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))) + elif filenames: + data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]]) + + +version = __import__('philo').VERSION + +setup( + name = 'Philo', + version = '%s.%s' % (version[0], version[1]), + packages = packages, + data_files = data_files, +) \ No newline at end of file -- 2.20.1