From e1da9933637ad0ddd5ce68c1af47cb7763bd5e99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Fri, 19 Dec 2014 17:11:03 +0100 Subject: [PATCH] eggification --- .../FakeMailHost/FakeMailHost.py | 0 .../FakeMailHost/__init__.py | 0 .../FakeMailHost/www}/MailHost_icon.gif | Bin .../www}/addFakeMailHost_form.dtml | 0 .../FakeMailHost/www}/manageFakeMailHost.dtml | 0 Products/__init__.py | 5 +++++ setup.py | 17 +++++++++++++++++ 7 files changed, 22 insertions(+) rename FakeMailHost.py => Products/FakeMailHost/FakeMailHost.py (100%) rename __init__.py => Products/FakeMailHost/__init__.py (100%) rename {www => Products/FakeMailHost/www}/MailHost_icon.gif (100%) rename {www => Products/FakeMailHost/www}/addFakeMailHost_form.dtml (100%) rename {www => Products/FakeMailHost/www}/manageFakeMailHost.dtml (100%) create mode 100644 Products/__init__.py create mode 100644 setup.py diff --git a/FakeMailHost.py b/Products/FakeMailHost/FakeMailHost.py similarity index 100% rename from FakeMailHost.py rename to Products/FakeMailHost/FakeMailHost.py diff --git a/__init__.py b/Products/FakeMailHost/__init__.py similarity index 100% rename from __init__.py rename to Products/FakeMailHost/__init__.py diff --git a/www/MailHost_icon.gif b/Products/FakeMailHost/www/MailHost_icon.gif similarity index 100% rename from www/MailHost_icon.gif rename to Products/FakeMailHost/www/MailHost_icon.gif diff --git a/www/addFakeMailHost_form.dtml b/Products/FakeMailHost/www/addFakeMailHost_form.dtml similarity index 100% rename from www/addFakeMailHost_form.dtml rename to Products/FakeMailHost/www/addFakeMailHost_form.dtml diff --git a/www/manageFakeMailHost.dtml b/Products/FakeMailHost/www/manageFakeMailHost.dtml similarity index 100% rename from www/manageFakeMailHost.dtml rename to Products/FakeMailHost/www/manageFakeMailHost.dtml 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..932b68f --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +from setuptools import setup, find_packages + + +setup(name='Products.FakeMailHost', + version='3.0', + description='Product that create Zope File objects instead of sending mail for debbuging purpose', + 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