From: Benoît Pin Date: Mon, 22 Dec 2014 14:09:50 +0000 (+0100) Subject: eggification X-Git-Url: https://scm.cri.ensmp.fr/git/PlinnDocument.git/commitdiff_plain/3b91dbcbb0b99d3d796a01813018db0e540bd0ec eggification --- 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 + )