From: Benoît Pin Date: Fri, 19 Dec 2014 16:11:03 +0000 (+0100) Subject: eggification X-Git-Url: https://scm.cri.ensmp.fr/git/FakeMailHost.git/commitdiff_plain/e1da9933637ad0ddd5ce68c1af47cb7763bd5e99 eggification --- 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 + )