From 3b91dbcbb0b99d3d796a01813018db0e540bd0ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Mon, 22 Dec 2014 15:09:50 +0100 Subject: [PATCH] eggification --- .../PlinnDocument/HistoryAdapters.py | 0 .../PlinnDocument/PlinnDocument.py | 0 .../PlinnDocument/__init__.py | 0 .../PlinnDocument/configure.zcml | 0 .../graphics}/delete_rectangle.psd | Bin .../PlinnDocument/graphics}/layer_status.psd | Bin .../PlinnDocument/graphics}/resize_handle.psd | Bin .../PlinnDocument/interfaces.py | 0 .../PlinnDocument/license.txt | 0 .../PlinnDocument/profiles}/default/types.xml | 0 .../profiles}/default/types/Plinn_Document.xml | 0 .../PlinnDocument/skins}/color_utils.js | 0 .../skins}/color_utils.js.metadata | 0 .../PlinnDocument/skins}/dd_trigger.js | 0 .../skins}/dd_trigger.js.metadata | 0 .../skins}/degrad_rectangle_header.gif | Bin .../PlinnDocument/skins}/delete_rectangle.gif | Bin .../skins}/delete_rectangle_hover.gif | Bin .../PlinnDocument/skins}/layout_controlers.js | 0 .../skins}/layout_controlers.js.metadata | 0 .../PlinnDocument/skins}/layout_objects.js | 0 .../skins}/layout_objects.js.metadata | 0 .../skins}/plinn_attachment_form.py | 0 .../skins}/plinn_attachment_template.pt | 0 .../skins}/plinn_blank_iframe.html.pt | 0 .../PlinnDocument/skins}/plinn_doc.gif | Bin .../PlinnDocument/skins}/plinn_doc.thumb.gif | Bin .../PlinnDocument/skins}/plinn_file_upload.gif | Bin .../skins}/plinn_icons/hidden_layer.gif | Bin .../skins}/plinn_icons/imagebox.gif | Bin .../PlinnDocument/skins}/plinn_icons/layer.gif | Bin .../skins}/plinn_icons/textarea.gif | Bin .../skins}/plinn_icons/visible_layer.gif | Bin .../skins}/plinn_image_upload.gif | Bin .../skins}/plinn_init_javascript_code.dtml | 0 .../PlinnDocument/skins}/plinn_macros.pt | 0 .../skins}/plinn_multilingual.js.pt | 0 .../skins}/plinn_multilingual.js.pt.metadata | 0 .../skins}/plinndocument_edit_control.py | 0 .../skins}/plinndocument_edit_form.py | 0 .../skins}/plinndocument_edit_template.pt | 0 .../PlinnDocument/skins}/plinndocument_view.pt | 0 .../PlinnDocument/skins}/resize_handle.png | Bin .../PlinnDocument/skins}/xml_io.js | 0 .../PlinnDocument/skins}/xml_io.js.metadata | 0 Products/__init__.py | 5 +++++ setup.py | 17 +++++++++++++++++ 47 files changed, 22 insertions(+) rename HistoryAdapters.py => Products/PlinnDocument/HistoryAdapters.py (100%) rename PlinnDocument.py => Products/PlinnDocument/PlinnDocument.py (100%) rename __init__.py => Products/PlinnDocument/__init__.py (100%) rename configure.zcml => Products/PlinnDocument/configure.zcml (100%) rename {graphics => Products/PlinnDocument/graphics}/delete_rectangle.psd (100%) rename {graphics => Products/PlinnDocument/graphics}/layer_status.psd (100%) rename {graphics => Products/PlinnDocument/graphics}/resize_handle.psd (100%) rename interfaces.py => Products/PlinnDocument/interfaces.py (100%) rename license.txt => Products/PlinnDocument/license.txt (100%) rename {profiles => Products/PlinnDocument/profiles}/default/types.xml (100%) rename {profiles => Products/PlinnDocument/profiles}/default/types/Plinn_Document.xml (100%) rename {skins => Products/PlinnDocument/skins}/color_utils.js (100%) rename {skins => Products/PlinnDocument/skins}/color_utils.js.metadata (100%) rename {skins => Products/PlinnDocument/skins}/dd_trigger.js (100%) rename {skins => Products/PlinnDocument/skins}/dd_trigger.js.metadata (100%) rename {skins => Products/PlinnDocument/skins}/degrad_rectangle_header.gif (100%) rename {skins => Products/PlinnDocument/skins}/delete_rectangle.gif (100%) rename {skins => Products/PlinnDocument/skins}/delete_rectangle_hover.gif (100%) rename {skins => Products/PlinnDocument/skins}/layout_controlers.js (100%) rename {skins => Products/PlinnDocument/skins}/layout_controlers.js.metadata (100%) rename {skins => Products/PlinnDocument/skins}/layout_objects.js (100%) rename {skins => Products/PlinnDocument/skins}/layout_objects.js.metadata (100%) rename {skins => Products/PlinnDocument/skins}/plinn_attachment_form.py (100%) rename {skins => Products/PlinnDocument/skins}/plinn_attachment_template.pt (100%) rename {skins => Products/PlinnDocument/skins}/plinn_blank_iframe.html.pt (100%) rename {skins => Products/PlinnDocument/skins}/plinn_doc.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_doc.thumb.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_file_upload.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_icons/hidden_layer.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_icons/imagebox.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_icons/layer.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_icons/textarea.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_icons/visible_layer.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_image_upload.gif (100%) rename {skins => Products/PlinnDocument/skins}/plinn_init_javascript_code.dtml (100%) rename {skins => Products/PlinnDocument/skins}/plinn_macros.pt (100%) rename {skins => Products/PlinnDocument/skins}/plinn_multilingual.js.pt (100%) rename {skins => Products/PlinnDocument/skins}/plinn_multilingual.js.pt.metadata (100%) rename {skins => Products/PlinnDocument/skins}/plinndocument_edit_control.py (100%) rename {skins => Products/PlinnDocument/skins}/plinndocument_edit_form.py (100%) rename {skins => Products/PlinnDocument/skins}/plinndocument_edit_template.pt (100%) rename {skins => Products/PlinnDocument/skins}/plinndocument_view.pt (100%) rename {skins => Products/PlinnDocument/skins}/resize_handle.png (100%) rename {skins => Products/PlinnDocument/skins}/xml_io.js (100%) rename {skins => Products/PlinnDocument/skins}/xml_io.js.metadata (100%) create mode 100644 Products/__init__.py create mode 100644 setup.py diff --git a/HistoryAdapters.py b/Products/PlinnDocument/HistoryAdapters.py similarity index 100% rename from HistoryAdapters.py rename to Products/PlinnDocument/HistoryAdapters.py diff --git a/PlinnDocument.py b/Products/PlinnDocument/PlinnDocument.py similarity index 100% rename from PlinnDocument.py rename to Products/PlinnDocument/PlinnDocument.py diff --git a/__init__.py b/Products/PlinnDocument/__init__.py similarity index 100% rename from __init__.py rename to Products/PlinnDocument/__init__.py diff --git a/configure.zcml b/Products/PlinnDocument/configure.zcml similarity index 100% rename from configure.zcml rename to Products/PlinnDocument/configure.zcml diff --git a/graphics/delete_rectangle.psd b/Products/PlinnDocument/graphics/delete_rectangle.psd similarity index 100% rename from graphics/delete_rectangle.psd rename to Products/PlinnDocument/graphics/delete_rectangle.psd diff --git a/graphics/layer_status.psd b/Products/PlinnDocument/graphics/layer_status.psd similarity index 100% rename from graphics/layer_status.psd rename to Products/PlinnDocument/graphics/layer_status.psd diff --git a/graphics/resize_handle.psd b/Products/PlinnDocument/graphics/resize_handle.psd similarity index 100% rename from graphics/resize_handle.psd rename to Products/PlinnDocument/graphics/resize_handle.psd diff --git a/interfaces.py b/Products/PlinnDocument/interfaces.py similarity index 100% rename from interfaces.py rename to Products/PlinnDocument/interfaces.py diff --git a/license.txt b/Products/PlinnDocument/license.txt similarity index 100% rename from license.txt rename to Products/PlinnDocument/license.txt diff --git a/profiles/default/types.xml b/Products/PlinnDocument/profiles/default/types.xml similarity index 100% rename from profiles/default/types.xml rename to Products/PlinnDocument/profiles/default/types.xml diff --git a/profiles/default/types/Plinn_Document.xml b/Products/PlinnDocument/profiles/default/types/Plinn_Document.xml similarity index 100% rename from profiles/default/types/Plinn_Document.xml rename to Products/PlinnDocument/profiles/default/types/Plinn_Document.xml diff --git a/skins/color_utils.js b/Products/PlinnDocument/skins/color_utils.js similarity index 100% rename from skins/color_utils.js rename to Products/PlinnDocument/skins/color_utils.js diff --git a/skins/color_utils.js.metadata b/Products/PlinnDocument/skins/color_utils.js.metadata similarity index 100% rename from skins/color_utils.js.metadata rename to Products/PlinnDocument/skins/color_utils.js.metadata diff --git a/skins/dd_trigger.js b/Products/PlinnDocument/skins/dd_trigger.js similarity index 100% rename from skins/dd_trigger.js rename to Products/PlinnDocument/skins/dd_trigger.js diff --git a/skins/dd_trigger.js.metadata b/Products/PlinnDocument/skins/dd_trigger.js.metadata similarity index 100% rename from skins/dd_trigger.js.metadata rename to Products/PlinnDocument/skins/dd_trigger.js.metadata diff --git a/skins/degrad_rectangle_header.gif b/Products/PlinnDocument/skins/degrad_rectangle_header.gif similarity index 100% rename from skins/degrad_rectangle_header.gif rename to Products/PlinnDocument/skins/degrad_rectangle_header.gif diff --git a/skins/delete_rectangle.gif b/Products/PlinnDocument/skins/delete_rectangle.gif similarity index 100% rename from skins/delete_rectangle.gif rename to Products/PlinnDocument/skins/delete_rectangle.gif diff --git a/skins/delete_rectangle_hover.gif b/Products/PlinnDocument/skins/delete_rectangle_hover.gif similarity index 100% rename from skins/delete_rectangle_hover.gif rename to Products/PlinnDocument/skins/delete_rectangle_hover.gif diff --git a/skins/layout_controlers.js b/Products/PlinnDocument/skins/layout_controlers.js similarity index 100% rename from skins/layout_controlers.js rename to Products/PlinnDocument/skins/layout_controlers.js diff --git a/skins/layout_controlers.js.metadata b/Products/PlinnDocument/skins/layout_controlers.js.metadata similarity index 100% rename from skins/layout_controlers.js.metadata rename to Products/PlinnDocument/skins/layout_controlers.js.metadata diff --git a/skins/layout_objects.js b/Products/PlinnDocument/skins/layout_objects.js similarity index 100% rename from skins/layout_objects.js rename to Products/PlinnDocument/skins/layout_objects.js diff --git a/skins/layout_objects.js.metadata b/Products/PlinnDocument/skins/layout_objects.js.metadata similarity index 100% rename from skins/layout_objects.js.metadata rename to Products/PlinnDocument/skins/layout_objects.js.metadata diff --git a/skins/plinn_attachment_form.py b/Products/PlinnDocument/skins/plinn_attachment_form.py similarity index 100% rename from skins/plinn_attachment_form.py rename to Products/PlinnDocument/skins/plinn_attachment_form.py diff --git a/skins/plinn_attachment_template.pt b/Products/PlinnDocument/skins/plinn_attachment_template.pt similarity index 100% rename from skins/plinn_attachment_template.pt rename to Products/PlinnDocument/skins/plinn_attachment_template.pt diff --git a/skins/plinn_blank_iframe.html.pt b/Products/PlinnDocument/skins/plinn_blank_iframe.html.pt similarity index 100% rename from skins/plinn_blank_iframe.html.pt rename to Products/PlinnDocument/skins/plinn_blank_iframe.html.pt diff --git a/skins/plinn_doc.gif b/Products/PlinnDocument/skins/plinn_doc.gif similarity index 100% rename from skins/plinn_doc.gif rename to Products/PlinnDocument/skins/plinn_doc.gif diff --git a/skins/plinn_doc.thumb.gif b/Products/PlinnDocument/skins/plinn_doc.thumb.gif similarity index 100% rename from skins/plinn_doc.thumb.gif rename to Products/PlinnDocument/skins/plinn_doc.thumb.gif diff --git a/skins/plinn_file_upload.gif b/Products/PlinnDocument/skins/plinn_file_upload.gif similarity index 100% rename from skins/plinn_file_upload.gif rename to Products/PlinnDocument/skins/plinn_file_upload.gif diff --git a/skins/plinn_icons/hidden_layer.gif b/Products/PlinnDocument/skins/plinn_icons/hidden_layer.gif similarity index 100% rename from skins/plinn_icons/hidden_layer.gif rename to Products/PlinnDocument/skins/plinn_icons/hidden_layer.gif diff --git a/skins/plinn_icons/imagebox.gif b/Products/PlinnDocument/skins/plinn_icons/imagebox.gif similarity index 100% rename from skins/plinn_icons/imagebox.gif rename to Products/PlinnDocument/skins/plinn_icons/imagebox.gif diff --git a/skins/plinn_icons/layer.gif b/Products/PlinnDocument/skins/plinn_icons/layer.gif similarity index 100% rename from skins/plinn_icons/layer.gif rename to Products/PlinnDocument/skins/plinn_icons/layer.gif diff --git a/skins/plinn_icons/textarea.gif b/Products/PlinnDocument/skins/plinn_icons/textarea.gif similarity index 100% rename from skins/plinn_icons/textarea.gif rename to Products/PlinnDocument/skins/plinn_icons/textarea.gif diff --git a/skins/plinn_icons/visible_layer.gif b/Products/PlinnDocument/skins/plinn_icons/visible_layer.gif similarity index 100% rename from skins/plinn_icons/visible_layer.gif rename to Products/PlinnDocument/skins/plinn_icons/visible_layer.gif diff --git a/skins/plinn_image_upload.gif b/Products/PlinnDocument/skins/plinn_image_upload.gif similarity index 100% rename from skins/plinn_image_upload.gif rename to Products/PlinnDocument/skins/plinn_image_upload.gif diff --git a/skins/plinn_init_javascript_code.dtml b/Products/PlinnDocument/skins/plinn_init_javascript_code.dtml similarity index 100% rename from skins/plinn_init_javascript_code.dtml rename to Products/PlinnDocument/skins/plinn_init_javascript_code.dtml diff --git a/skins/plinn_macros.pt b/Products/PlinnDocument/skins/plinn_macros.pt similarity index 100% rename from skins/plinn_macros.pt rename to Products/PlinnDocument/skins/plinn_macros.pt diff --git a/skins/plinn_multilingual.js.pt b/Products/PlinnDocument/skins/plinn_multilingual.js.pt similarity index 100% rename from skins/plinn_multilingual.js.pt rename to Products/PlinnDocument/skins/plinn_multilingual.js.pt diff --git a/skins/plinn_multilingual.js.pt.metadata b/Products/PlinnDocument/skins/plinn_multilingual.js.pt.metadata similarity index 100% rename from skins/plinn_multilingual.js.pt.metadata rename to Products/PlinnDocument/skins/plinn_multilingual.js.pt.metadata diff --git a/skins/plinndocument_edit_control.py b/Products/PlinnDocument/skins/plinndocument_edit_control.py similarity index 100% rename from skins/plinndocument_edit_control.py rename to Products/PlinnDocument/skins/plinndocument_edit_control.py diff --git a/skins/plinndocument_edit_form.py b/Products/PlinnDocument/skins/plinndocument_edit_form.py similarity index 100% rename from skins/plinndocument_edit_form.py rename to Products/PlinnDocument/skins/plinndocument_edit_form.py diff --git a/skins/plinndocument_edit_template.pt b/Products/PlinnDocument/skins/plinndocument_edit_template.pt similarity index 100% rename from skins/plinndocument_edit_template.pt rename to Products/PlinnDocument/skins/plinndocument_edit_template.pt diff --git a/skins/plinndocument_view.pt b/Products/PlinnDocument/skins/plinndocument_view.pt similarity index 100% rename from skins/plinndocument_view.pt rename to Products/PlinnDocument/skins/plinndocument_view.pt diff --git a/skins/resize_handle.png b/Products/PlinnDocument/skins/resize_handle.png similarity index 100% rename from skins/resize_handle.png rename to Products/PlinnDocument/skins/resize_handle.png diff --git a/skins/xml_io.js b/Products/PlinnDocument/skins/xml_io.js similarity index 100% rename from skins/xml_io.js rename to Products/PlinnDocument/skins/xml_io.js diff --git a/skins/xml_io.js.metadata b/Products/PlinnDocument/skins/xml_io.js.metadata similarity index 100% rename from skins/xml_io.js.metadata rename to Products/PlinnDocument/skins/xml_io.js.metadata 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..9676046 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +from setuptools import setup, find_packages + + +setup(name='Products.PlinnDocument', + version='3.0', + description='Plinn wysiwyg document 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 + ) -- 2.20.1