From: Benoît Pin Date: Mon, 22 Dec 2014 14:05:09 +0000 (+0100) Subject: eggification X-Git-Url: https://scm.cri.ensmp.fr/git/MosaicDocument.git/commitdiff_plain eggification --- diff --git a/BaseSlot.py b/Products/MosaicDocument/BaseSlot.py similarity index 100% rename from BaseSlot.py rename to Products/MosaicDocument/BaseSlot.py diff --git a/FileSlot.py b/Products/MosaicDocument/FileSlot.py similarity index 100% rename from FileSlot.py rename to Products/MosaicDocument/FileSlot.py diff --git a/ImageSlot.py b/Products/MosaicDocument/ImageSlot.py similarity index 100% rename from ImageSlot.py rename to Products/MosaicDocument/ImageSlot.py diff --git a/MosaicBlock.py b/Products/MosaicDocument/MosaicBlock.py similarity index 100% rename from MosaicBlock.py rename to Products/MosaicDocument/MosaicBlock.py diff --git a/MosaicBlockInformation.py b/Products/MosaicDocument/MosaicBlockInformation.py similarity index 100% rename from MosaicBlockInformation.py rename to Products/MosaicDocument/MosaicBlockInformation.py diff --git a/MosaicDocument.py b/Products/MosaicDocument/MosaicDocument.py similarity index 100% rename from MosaicDocument.py rename to Products/MosaicDocument/MosaicDocument.py diff --git a/MosaicTool.py b/Products/MosaicDocument/MosaicTool.py similarity index 100% rename from MosaicTool.py rename to Products/MosaicDocument/MosaicTool.py diff --git a/SpacerSlot.py b/Products/MosaicDocument/SpacerSlot.py similarity index 100% rename from SpacerSlot.py rename to Products/MosaicDocument/SpacerSlot.py diff --git a/StringSlot.py b/Products/MosaicDocument/StringSlot.py similarity index 100% rename from StringSlot.py rename to Products/MosaicDocument/StringSlot.py diff --git a/__init__.py b/Products/MosaicDocument/__init__.py similarity index 100% rename from __init__.py rename to Products/MosaicDocument/__init__.py diff --git a/config.py b/Products/MosaicDocument/config.py similarity index 100% rename from config.py rename to Products/MosaicDocument/config.py diff --git a/default_blocks/action_block_icon.gif b/Products/MosaicDocument/default_blocks/action_block_icon.gif similarity index 100% rename from default_blocks/action_block_icon.gif rename to Products/MosaicDocument/default_blocks/action_block_icon.gif diff --git a/default_blocks/action_block_template.pt b/Products/MosaicDocument/default_blocks/action_block_template.pt similarity index 100% rename from default_blocks/action_block_template.pt rename to Products/MosaicDocument/default_blocks/action_block_template.pt diff --git a/default_blocks/block_container_template.pt b/Products/MosaicDocument/default_blocks/block_container_template.pt similarity index 100% rename from default_blocks/block_container_template.pt rename to Products/MosaicDocument/default_blocks/block_container_template.pt diff --git a/default_blocks/block_file_template.pt b/Products/MosaicDocument/default_blocks/block_file_template.pt similarity index 100% rename from default_blocks/block_file_template.pt rename to Products/MosaicDocument/default_blocks/block_file_template.pt diff --git a/default_blocks/block_image_template.pt b/Products/MosaicDocument/default_blocks/block_image_template.pt similarity index 100% rename from default_blocks/block_image_template.pt rename to Products/MosaicDocument/default_blocks/block_image_template.pt diff --git a/default_blocks/block_section_template.pt b/Products/MosaicDocument/default_blocks/block_section_template.pt similarity index 100% rename from default_blocks/block_section_template.pt rename to Products/MosaicDocument/default_blocks/block_section_template.pt diff --git a/default_blocks/block_spacer_template.pt b/Products/MosaicDocument/default_blocks/block_spacer_template.pt similarity index 100% rename from default_blocks/block_spacer_template.pt rename to Products/MosaicDocument/default_blocks/block_spacer_template.pt diff --git a/default_blocks/block_text_template.pt b/Products/MosaicDocument/default_blocks/block_text_template.pt similarity index 100% rename from default_blocks/block_text_template.pt rename to Products/MosaicDocument/default_blocks/block_text_template.pt diff --git a/default_blocks/block_two_images_template.pt b/Products/MosaicDocument/default_blocks/block_two_images_template.pt similarity index 100% rename from default_blocks/block_two_images_template.pt rename to Products/MosaicDocument/default_blocks/block_two_images_template.pt diff --git a/default_blocks/block_utils.pt b/Products/MosaicDocument/default_blocks/block_utils.pt similarity index 100% rename from default_blocks/block_utils.pt rename to Products/MosaicDocument/default_blocks/block_utils.pt diff --git a/default_blocks/getDefaultBlockMetaFtis.py b/Products/MosaicDocument/default_blocks/getDefaultBlockMetaFtis.py similarity index 100% rename from default_blocks/getDefaultBlockMetaFtis.py rename to Products/MosaicDocument/default_blocks/getDefaultBlockMetaFtis.py diff --git a/default_blocks/image_block_icon.gif b/Products/MosaicDocument/default_blocks/image_block_icon.gif similarity index 100% rename from default_blocks/image_block_icon.gif rename to Products/MosaicDocument/default_blocks/image_block_icon.gif diff --git a/default_blocks/tree_block_icon.gif b/Products/MosaicDocument/default_blocks/tree_block_icon.gif similarity index 100% rename from default_blocks/tree_block_icon.gif rename to Products/MosaicDocument/default_blocks/tree_block_icon.gif diff --git a/default_blocks/tree_block_script.js b/Products/MosaicDocument/default_blocks/tree_block_script.js similarity index 100% rename from default_blocks/tree_block_script.js rename to Products/MosaicDocument/default_blocks/tree_block_script.js diff --git a/default_blocks/tree_block_template.pt b/Products/MosaicDocument/default_blocks/tree_block_template.pt similarity index 100% rename from default_blocks/tree_block_template.pt rename to Products/MosaicDocument/default_blocks/tree_block_template.pt diff --git a/default_slots/bin_icon.gif b/Products/MosaicDocument/default_slots/bin_icon.gif similarity index 100% rename from default_slots/bin_icon.gif rename to Products/MosaicDocument/default_slots/bin_icon.gif diff --git a/default_slots/document_icon.gif b/Products/MosaicDocument/default_slots/document_icon.gif similarity index 100% rename from default_slots/document_icon.gif rename to Products/MosaicDocument/default_slots/document_icon.gif diff --git a/default_slots/no_image.jpg b/Products/MosaicDocument/default_slots/no_image.jpg similarity index 100% rename from default_slots/no_image.jpg rename to Products/MosaicDocument/default_slots/no_image.jpg diff --git a/default_slots/photo_icon.gif b/Products/MosaicDocument/default_slots/photo_icon.gif similarity index 100% rename from default_slots/photo_icon.gif rename to Products/MosaicDocument/default_slots/photo_icon.gif diff --git a/default_slots/slot_file_form.pt b/Products/MosaicDocument/default_slots/slot_file_form.pt similarity index 100% rename from default_slots/slot_file_form.pt rename to Products/MosaicDocument/default_slots/slot_file_form.pt diff --git a/default_slots/slot_file_view.pt b/Products/MosaicDocument/default_slots/slot_file_view.pt similarity index 100% rename from default_slots/slot_file_view.pt rename to Products/MosaicDocument/default_slots/slot_file_view.pt diff --git a/default_slots/slot_image_form.pt b/Products/MosaicDocument/default_slots/slot_image_form.pt similarity index 100% rename from default_slots/slot_image_form.pt rename to Products/MosaicDocument/default_slots/slot_image_form.pt diff --git a/default_slots/slot_image_view.pt b/Products/MosaicDocument/default_slots/slot_image_view.pt similarity index 100% rename from default_slots/slot_image_view.pt rename to Products/MosaicDocument/default_slots/slot_image_view.pt diff --git a/default_slots/slot_list_form.pt b/Products/MosaicDocument/default_slots/slot_list_form.pt similarity index 100% rename from default_slots/slot_list_form.pt rename to Products/MosaicDocument/default_slots/slot_list_form.pt diff --git a/default_slots/slot_list_view.pt b/Products/MosaicDocument/default_slots/slot_list_view.pt similarity index 100% rename from default_slots/slot_list_view.pt rename to Products/MosaicDocument/default_slots/slot_list_view.pt diff --git a/default_slots/slot_spacer_form.pt b/Products/MosaicDocument/default_slots/slot_spacer_form.pt similarity index 100% rename from default_slots/slot_spacer_form.pt rename to Products/MosaicDocument/default_slots/slot_spacer_form.pt diff --git a/default_slots/slot_spacer_view.pt b/Products/MosaicDocument/default_slots/slot_spacer_view.pt similarity index 100% rename from default_slots/slot_spacer_view.pt rename to Products/MosaicDocument/default_slots/slot_spacer_view.pt diff --git a/default_slots/slot_string_form.pt b/Products/MosaicDocument/default_slots/slot_string_form.pt similarity index 100% rename from default_slots/slot_string_form.pt rename to Products/MosaicDocument/default_slots/slot_string_form.pt diff --git a/default_slots/slot_string_view.pt b/Products/MosaicDocument/default_slots/slot_string_view.pt similarity index 100% rename from default_slots/slot_string_view.pt rename to Products/MosaicDocument/default_slots/slot_string_view.pt diff --git a/default_slots/slot_text_form.pt b/Products/MosaicDocument/default_slots/slot_text_form.pt similarity index 100% rename from default_slots/slot_text_form.pt rename to Products/MosaicDocument/default_slots/slot_text_form.pt diff --git a/default_slots/slot_text_view.pt b/Products/MosaicDocument/default_slots/slot_text_view.pt similarity index 100% rename from default_slots/slot_text_view.pt rename to Products/MosaicDocument/default_slots/slot_text_view.pt diff --git a/default_slots/spacer_icon.gif b/Products/MosaicDocument/default_slots/spacer_icon.gif similarity index 100% rename from default_slots/spacer_icon.gif rename to Products/MosaicDocument/default_slots/spacer_icon.gif diff --git a/default_slots/str_icon.gif b/Products/MosaicDocument/default_slots/str_icon.gif similarity index 100% rename from default_slots/str_icon.gif rename to Products/MosaicDocument/default_slots/str_icon.gif diff --git a/default_slots/txt_icon.gif b/Products/MosaicDocument/default_slots/txt_icon.gif similarity index 100% rename from default_slots/txt_icon.gif rename to Products/MosaicDocument/default_slots/txt_icon.gif diff --git a/default_slots/url_icon.gif b/Products/MosaicDocument/default_slots/url_icon.gif similarity index 100% rename from default_slots/url_icon.gif rename to Products/MosaicDocument/default_slots/url_icon.gif diff --git a/dependencies.txt b/Products/MosaicDocument/dependencies.txt similarity index 100% rename from dependencies.txt rename to Products/MosaicDocument/dependencies.txt diff --git a/dtml/addMosaicBlockForm.dtml b/Products/MosaicDocument/dtml/addMosaicBlockForm.dtml similarity index 100% rename from dtml/addMosaicBlockForm.dtml rename to Products/MosaicDocument/dtml/addMosaicBlockForm.dtml diff --git a/dtml/addSlotForm.dtml b/Products/MosaicDocument/dtml/addSlotForm.dtml similarity index 100% rename from dtml/addSlotForm.dtml rename to Products/MosaicDocument/dtml/addSlotForm.dtml diff --git a/dtml/block_icon.gif b/Products/MosaicDocument/dtml/block_icon.gif similarity index 100% rename from dtml/block_icon.gif rename to Products/MosaicDocument/dtml/block_icon.gif diff --git a/dtml/icon_installer.gif b/Products/MosaicDocument/dtml/icon_installer.gif similarity index 100% rename from dtml/icon_installer.gif rename to Products/MosaicDocument/dtml/icon_installer.gif diff --git a/dtml/properties.dtml b/Products/MosaicDocument/dtml/properties.dtml similarity index 100% rename from dtml/properties.dtml rename to Products/MosaicDocument/dtml/properties.dtml diff --git a/dtml/rulesForm.dtml b/Products/MosaicDocument/dtml/rulesForm.dtml similarity index 100% rename from dtml/rulesForm.dtml rename to Products/MosaicDocument/dtml/rulesForm.dtml diff --git a/dtml/slot_icon.gif b/Products/MosaicDocument/dtml/slot_icon.gif similarity index 100% rename from dtml/slot_icon.gif rename to Products/MosaicDocument/dtml/slot_icon.gif diff --git a/dtml/slotsForm.dtml b/Products/MosaicDocument/dtml/slotsForm.dtml similarity index 100% rename from dtml/slotsForm.dtml rename to Products/MosaicDocument/dtml/slotsForm.dtml diff --git a/exportimport/__init__.py b/Products/MosaicDocument/exportimport/__init__.py similarity index 100% rename from exportimport/__init__.py rename to Products/MosaicDocument/exportimport/__init__.py diff --git a/exportimport/mosaictool.py b/Products/MosaicDocument/exportimport/mosaictool.py similarity index 100% rename from exportimport/mosaictool.py rename to Products/MosaicDocument/exportimport/mosaictool.py diff --git a/license.txt b/Products/MosaicDocument/license.txt similarity index 100% rename from license.txt rename to Products/MosaicDocument/license.txt diff --git a/refresh.txt b/Products/MosaicDocument/refresh.txt similarity index 100% rename from refresh.txt rename to Products/MosaicDocument/refresh.txt diff --git a/skins/block_canvas.pt b/Products/MosaicDocument/skins/block_canvas.pt similarity index 100% rename from skins/block_canvas.pt rename to Products/MosaicDocument/skins/block_canvas.pt diff --git a/skins/collapse_all.ai b/Products/MosaicDocument/skins/collapse_all.ai similarity index 100% rename from skins/collapse_all.ai rename to Products/MosaicDocument/skins/collapse_all.ai diff --git a/skins/collapse_all.gif b/Products/MosaicDocument/skins/collapse_all.gif similarity index 100% rename from skins/collapse_all.gif rename to Products/MosaicDocument/skins/collapse_all.gif diff --git a/skins/copy.png b/Products/MosaicDocument/skins/copy.png similarity index 100% rename from skins/copy.png rename to Products/MosaicDocument/skins/copy.png diff --git a/skins/cut.png b/Products/MosaicDocument/skins/cut.png similarity index 100% rename from skins/cut.png rename to Products/MosaicDocument/skins/cut.png diff --git a/skins/img_box_delete.png b/Products/MosaicDocument/skins/img_box_delete.png similarity index 100% rename from skins/img_box_delete.png rename to Products/MosaicDocument/skins/img_box_delete.png diff --git a/skins/img_box_movedown.png b/Products/MosaicDocument/skins/img_box_movedown.png similarity index 100% rename from skins/img_box_movedown.png rename to Products/MosaicDocument/skins/img_box_movedown.png diff --git a/skins/img_box_moveleft.png b/Products/MosaicDocument/skins/img_box_moveleft.png similarity index 100% rename from skins/img_box_moveleft.png rename to Products/MosaicDocument/skins/img_box_moveleft.png diff --git a/skins/img_box_moveright.png b/Products/MosaicDocument/skins/img_box_moveright.png similarity index 100% rename from skins/img_box_moveright.png rename to Products/MosaicDocument/skins/img_box_moveright.png diff --git a/skins/img_box_moveup.png b/Products/MosaicDocument/skins/img_box_moveup.png similarity index 100% rename from skins/img_box_moveup.png rename to Products/MosaicDocument/skins/img_box_moveup.png diff --git a/skins/inline_tree_script.dtml b/Products/MosaicDocument/skins/inline_tree_script.dtml similarity index 100% rename from skins/inline_tree_script.dtml rename to Products/MosaicDocument/skins/inline_tree_script.dtml diff --git a/skins/make_nav_tree.py b/Products/MosaicDocument/skins/make_nav_tree.py similarity index 100% rename from skins/make_nav_tree.py rename to Products/MosaicDocument/skins/make_nav_tree.py diff --git a/skins/mosaic_icon.gif b/Products/MosaicDocument/skins/mosaic_icon.gif similarity index 100% rename from skins/mosaic_icon.gif rename to Products/MosaicDocument/skins/mosaic_icon.gif diff --git a/skins/mosaic_icon.thumb.gif b/Products/MosaicDocument/skins/mosaic_icon.thumb.gif similarity index 100% rename from skins/mosaic_icon.thumb.gif rename to Products/MosaicDocument/skins/mosaic_icon.thumb.gif diff --git a/skins/mosaicdocument_edit_form.pt b/Products/MosaicDocument/skins/mosaicdocument_edit_form.pt similarity index 100% rename from skins/mosaicdocument_edit_form.pt rename to Products/MosaicDocument/skins/mosaicdocument_edit_form.pt diff --git a/skins/mosaicdocument_view.pt b/Products/MosaicDocument/skins/mosaicdocument_view.pt similarity index 100% rename from skins/mosaicdocument_view.pt rename to Products/MosaicDocument/skins/mosaicdocument_view.pt diff --git a/skins/paste.png b/Products/MosaicDocument/skins/paste.png similarity index 100% rename from skins/paste.png rename to Products/MosaicDocument/skins/paste.png diff --git a/skins/xml_nav_tree.py b/Products/MosaicDocument/skins/xml_nav_tree.py similarity index 100% rename from skins/xml_nav_tree.py rename to Products/MosaicDocument/skins/xml_nav_tree.py diff --git a/tool.gif b/Products/MosaicDocument/tool.gif similarity index 100% rename from tool.gif rename to Products/MosaicDocument/tool.gif diff --git a/version.txt b/Products/MosaicDocument/version.txt similarity index 100% rename from version.txt rename to Products/MosaicDocument/version.txt diff --git a/Products/__init__.py b/Products/__init__.py new file mode 100644 index 0000000..d407605 --- /dev/null +++ b/Products/__init__.py @@ -0,0 +1,5 @@ +try: + __import__('pkg_resources').declare_namespace(__name__) +except ImportError: + from pkgutil import extend_path + __path__ = extend_path(__path__, __name__) diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..13481e0 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +from setuptools import setup, find_packages + + +setup(name='Products.MosaicDocument', + version='3.0', + description='MosaicDocument for Plinn content management framework', + url='http://plinn.org', + author="Benoît Pin – MINES ParisTech – Armines", + author_email="benoit.pin@mines-paristech.fr", + license="GPL", + packages=find_packages(), + include_package_data=True, + namespace_packages=['Products'], + zip_safe=False, + install_requires=[] #TODO + )