From: Benoît Pin Date: Fri, 19 Dec 2014 16:51:14 +0000 (+0100) Subject: eggification X-Git-Url: https://svn.cri.ensmp.fr/git/photoprint.git/commitdiff_plain/refs/heads/zope-2.13-egg?ds=sidebyside eggification --- 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/__init__.py b/Products/photoprint/__init__.py similarity index 100% rename from __init__.py rename to Products/photoprint/__init__.py diff --git a/_utils/import_printing_list.py b/Products/photoprint/_utils/import_printing_list.py similarity index 100% rename from _utils/import_printing_list.py rename to Products/photoprint/_utils/import_printing_list.py diff --git a/cart.py b/Products/photoprint/cart.py similarity index 100% rename from cart.py rename to Products/photoprint/cart.py diff --git a/compile-i18n.sh b/Products/photoprint/compile-i18n.sh similarity index 100% rename from compile-i18n.sh rename to Products/photoprint/compile-i18n.sh diff --git a/configure.zcml b/Products/photoprint/configure.zcml similarity index 100% rename from configure.zcml rename to Products/photoprint/configure.zcml diff --git a/exceptions.py b/Products/photoprint/exceptions.py similarity index 100% rename from exceptions.py rename to Products/photoprint/exceptions.py diff --git a/graphics/tampon.psd b/Products/photoprint/graphics/tampon.psd similarity index 100% rename from graphics/tampon.psd rename to Products/photoprint/graphics/tampon.psd diff --git a/interfaces.py b/Products/photoprint/interfaces.py similarity index 100% rename from interfaces.py rename to Products/photoprint/interfaces.py diff --git a/locales/en/LC_MESSAGES/photoprint.mo b/Products/photoprint/locales/en/LC_MESSAGES/photoprint.mo similarity index 100% rename from locales/en/LC_MESSAGES/photoprint.mo rename to Products/photoprint/locales/en/LC_MESSAGES/photoprint.mo diff --git a/locales/en/LC_MESSAGES/photoprint.po b/Products/photoprint/locales/en/LC_MESSAGES/photoprint.po similarity index 100% rename from locales/en/LC_MESSAGES/photoprint.po rename to Products/photoprint/locales/en/LC_MESSAGES/photoprint.po diff --git a/locales/fr/LC_MESSAGES/photoprint.mo b/Products/photoprint/locales/fr/LC_MESSAGES/photoprint.mo similarity index 100% rename from locales/fr/LC_MESSAGES/photoprint.mo rename to Products/photoprint/locales/fr/LC_MESSAGES/photoprint.mo diff --git a/locales/fr/LC_MESSAGES/photoprint.po b/Products/photoprint/locales/fr/LC_MESSAGES/photoprint.po similarity index 100% rename from locales/fr/LC_MESSAGES/photoprint.po rename to Products/photoprint/locales/fr/LC_MESSAGES/photoprint.po diff --git a/locales/photoprint-manual.pot b/Products/photoprint/locales/photoprint-manual.pot similarity index 100% rename from locales/photoprint-manual.pot rename to Products/photoprint/locales/photoprint-manual.pot diff --git a/locales/photoprint.pot b/Products/photoprint/locales/photoprint.pot similarity index 100% rename from locales/photoprint.pot rename to Products/photoprint/locales/photoprint.pot diff --git a/order.py b/Products/photoprint/order.py similarity index 100% rename from order.py rename to Products/photoprint/order.py diff --git a/permissions.py b/Products/photoprint/permissions.py similarity index 100% rename from permissions.py rename to Products/photoprint/permissions.py diff --git a/permissions.zcml b/Products/photoprint/permissions.zcml similarity index 100% rename from permissions.zcml rename to Products/photoprint/permissions.zcml diff --git a/price.py b/Products/photoprint/price.py similarity index 100% rename from price.py rename to Products/photoprint/price.py diff --git a/skins/confirm_join_template.pt b/Products/photoprint/skins/confirm_join_template.pt similarity index 100% rename from skins/confirm_join_template.pt rename to Products/photoprint/skins/confirm_join_template.pt diff --git a/skins/customer_add_control.py b/Products/photoprint/skins/customer_add_control.py similarity index 100% rename from skins/customer_add_control.py rename to Products/photoprint/skins/customer_add_control.py diff --git a/skins/customer_join_form.py b/Products/photoprint/skins/customer_join_form.py similarity index 100% rename from skins/customer_join_form.py rename to Products/photoprint/skins/customer_join_form.py diff --git a/skins/customer_join_template.pt b/Products/photoprint/skins/customer_join_template.pt similarity index 100% rename from skins/customer_join_template.pt rename to Products/photoprint/skins/customer_join_template.pt diff --git a/skins/customer_login_form.pt b/Products/photoprint/skins/customer_login_form.pt similarity index 100% rename from skins/customer_login_form.pt rename to Products/photoprint/skins/customer_login_form.pt diff --git a/skins/get_photo_print_order_template.pt b/Products/photoprint/skins/get_photo_print_order_template.pt similarity index 100% rename from skins/get_photo_print_order_template.pt rename to Products/photoprint/skins/get_photo_print_order_template.pt diff --git a/skins/my_orders.py b/Products/photoprint/skins/my_orders.py similarity index 100% rename from skins/my_orders.py rename to Products/photoprint/skins/my_orders.py diff --git a/skins/my_orders_template.pt b/Products/photoprint/skins/my_orders_template.pt similarity index 100% rename from skins/my_orders_template.pt rename to Products/photoprint/skins/my_orders_template.pt diff --git a/skins/order_cancel_form.pt b/Products/photoprint/skins/order_cancel_form.pt similarity index 100% rename from skins/order_cancel_form.pt rename to Products/photoprint/skins/order_cancel_form.pt diff --git a/skins/order_list.py b/Products/photoprint/skins/order_list.py similarity index 100% rename from skins/order_list.py rename to Products/photoprint/skins/order_list.py diff --git a/skins/order_list_template.pt b/Products/photoprint/skins/order_list_template.pt similarity index 100% rename from skins/order_list_template.pt rename to Products/photoprint/skins/order_list_template.pt diff --git a/skins/order_manual_payment_form.pt b/Products/photoprint/skins/order_manual_payment_form.pt similarity index 100% rename from skins/order_manual_payment_form.pt rename to Products/photoprint/skins/order_manual_payment_form.pt diff --git a/skins/order_notify_done_form.pt b/Products/photoprint/skins/order_notify_done_form.pt similarity index 100% rename from skins/order_notify_done_form.pt rename to Products/photoprint/skins/order_notify_done_form.pt diff --git a/skins/order_notify_sent_form.pt b/Products/photoprint/skins/order_notify_sent_form.pt similarity index 100% rename from skins/order_notify_sent_form.pt rename to Products/photoprint/skins/order_notify_sent_form.pt diff --git a/skins/order_payment_template.pt b/Products/photoprint/skins/order_payment_template.pt similarity index 100% rename from skins/order_payment_template.pt rename to Products/photoprint/skins/order_payment_template.pt diff --git a/skins/order_pplog.pt b/Products/photoprint/skins/order_pplog.pt similarity index 100% rename from skins/order_pplog.pt rename to Products/photoprint/skins/order_pplog.pt diff --git a/skins/order_printing_list.py b/Products/photoprint/skins/order_printing_list.py similarity index 100% rename from skins/order_printing_list.py rename to Products/photoprint/skins/order_printing_list.py diff --git a/skins/order_printing_list_template.pt b/Products/photoprint/skins/order_printing_list_template.pt similarity index 100% rename from skins/order_printing_list_template.pt rename to Products/photoprint/skins/order_printing_list_template.pt diff --git a/skins/order_printing_list_template_xml.pt b/Products/photoprint/skins/order_printing_list_template_xml.pt similarity index 100% rename from skins/order_printing_list_template_xml.pt rename to Products/photoprint/skins/order_printing_list_template_xml.pt diff --git a/skins/order_states/canceled-en.gif b/Products/photoprint/skins/order_states/canceled-en.gif similarity index 100% rename from skins/order_states/canceled-en.gif rename to Products/photoprint/skins/order_states/canceled-en.gif diff --git a/skins/order_states/canceled-fr.gif b/Products/photoprint/skins/order_states/canceled-fr.gif similarity index 100% rename from skins/order_states/canceled-fr.gif rename to Products/photoprint/skins/order_states/canceled-fr.gif diff --git a/skins/order_states/done-en.gif b/Products/photoprint/skins/order_states/done-en.gif similarity index 100% rename from skins/order_states/done-en.gif rename to Products/photoprint/skins/order_states/done-en.gif diff --git a/skins/order_states/done-fr.gif b/Products/photoprint/skins/order_states/done-fr.gif similarity index 100% rename from skins/order_states/done-fr.gif rename to Products/photoprint/skins/order_states/done-fr.gif diff --git a/skins/order_states/paid-en.gif b/Products/photoprint/skins/order_states/paid-en.gif similarity index 100% rename from skins/order_states/paid-en.gif rename to Products/photoprint/skins/order_states/paid-en.gif diff --git a/skins/order_states/paid-fr.gif b/Products/photoprint/skins/order_states/paid-fr.gif similarity index 100% rename from skins/order_states/paid-fr.gif rename to Products/photoprint/skins/order_states/paid-fr.gif diff --git a/skins/order_states/recorded-en.gif b/Products/photoprint/skins/order_states/recorded-en.gif similarity index 100% rename from skins/order_states/recorded-en.gif rename to Products/photoprint/skins/order_states/recorded-en.gif diff --git a/skins/order_states/recorded-fr.gif b/Products/photoprint/skins/order_states/recorded-fr.gif similarity index 100% rename from skins/order_states/recorded-fr.gif rename to Products/photoprint/skins/order_states/recorded-fr.gif diff --git a/skins/order_states/refused-en.gif b/Products/photoprint/skins/order_states/refused-en.gif similarity index 100% rename from skins/order_states/refused-en.gif rename to Products/photoprint/skins/order_states/refused-en.gif diff --git a/skins/order_states/refused-fr.gif b/Products/photoprint/skins/order_states/refused-fr.gif similarity index 100% rename from skins/order_states/refused-fr.gif rename to Products/photoprint/skins/order_states/refused-fr.gif diff --git a/skins/order_states/sent-en.gif b/Products/photoprint/skins/order_states/sent-en.gif similarity index 100% rename from skins/order_states/sent-en.gif rename to Products/photoprint/skins/order_states/sent-en.gif diff --git a/skins/order_states/sent-fr.gif b/Products/photoprint/skins/order_states/sent-fr.gif similarity index 100% rename from skins/order_states/sent-fr.gif rename to Products/photoprint/skins/order_states/sent-fr.gif diff --git a/skins/order_view.py b/Products/photoprint/skins/order_view.py similarity index 100% rename from skins/order_view.py rename to Products/photoprint/skins/order_view.py diff --git a/skins/order_view_template.pt b/Products/photoprint/skins/order_view_template.pt similarity index 100% rename from skins/order_view_template.pt rename to Products/photoprint/skins/order_view_template.pt diff --git a/skins/paypal-button.png b/Products/photoprint/skins/paypal-button.png similarity index 100% rename from skins/paypal-button.png rename to Products/photoprint/skins/paypal-button.png diff --git a/skins/personalize_form.pt b/Products/photoprint/skins/personalize_form.pt similarity index 100% rename from skins/personalize_form.pt rename to Products/photoprint/skins/personalize_form.pt diff --git a/skins/photoprint_order_cancel.py b/Products/photoprint/skins/photoprint_order_cancel.py similarity index 100% rename from skins/photoprint_order_cancel.py rename to Products/photoprint/skins/photoprint_order_cancel.py diff --git a/skins/photoprint_order_confirm.py b/Products/photoprint/skins/photoprint_order_confirm.py similarity index 100% rename from skins/photoprint_order_confirm.py rename to Products/photoprint/skins/photoprint_order_confirm.py diff --git a/skins/photoprint_templates_edit_form.py b/Products/photoprint/skins/photoprint_templates_edit_form.py similarity index 100% rename from skins/photoprint_templates_edit_form.py rename to Products/photoprint/skins/photoprint_templates_edit_form.py diff --git a/skins/photoprint_templates_edit_template.pt b/Products/photoprint/skins/photoprint_templates_edit_template.pt similarity index 100% rename from skins/photoprint_templates_edit_template.pt rename to Products/photoprint/skins/photoprint_templates_edit_template.pt diff --git a/skins/validatePrivateAccess.py b/Products/photoprint/skins/validatePrivateAccess.py similarity index 100% rename from skins/validatePrivateAccess.py rename to Products/photoprint/skins/validatePrivateAccess.py diff --git a/tool.gif b/Products/photoprint/tool.gif similarity index 100% rename from tool.gif rename to Products/photoprint/tool.gif diff --git a/tool.py b/Products/photoprint/tool.py similarity index 100% rename from tool.py rename to Products/photoprint/tool.py diff --git a/update_i18n.sh b/Products/photoprint/update_i18n.sh similarity index 100% rename from update_i18n.sh rename to Products/photoprint/update_i18n.sh diff --git a/utils.py b/Products/photoprint/utils.py similarity index 100% rename from utils.py rename to Products/photoprint/utils.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..a5bb425 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +from setuptools import setup, find_packages + + +setup(name='Products.photoprint', + version='3.0', + description='Photo prints and sales management for Plinn CMS', + 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 + )