From 50b88da70954fb7827784be1ce14d6f75ae9072e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Fri, 19 Dec 2014 18:30:37 +0100 Subject: [PATCH] eggification --- README.txt => Products/Utf8Splitter/README.txt | 0 .../Utf8Splitter/Utf8Splitter.py | 0 .../Utf8Splitter/__init__.py | 0 .../Utf8Splitter/license.txt | 0 .../Utf8Splitter/overrides.zcml | 0 .../Utf8Splitter/txtng3normalizer.py | 0 .../Utf8Splitter/version.txt | 0 Products/__init__.py | 5 +++++ setup.py | 17 +++++++++++++++++ 9 files changed, 22 insertions(+) rename README.txt => Products/Utf8Splitter/README.txt (100%) rename Utf8Splitter.py => Products/Utf8Splitter/Utf8Splitter.py (100%) rename __init__.py => Products/Utf8Splitter/__init__.py (100%) rename license.txt => Products/Utf8Splitter/license.txt (100%) rename overrides.zcml => Products/Utf8Splitter/overrides.zcml (100%) rename txtng3normalizer.py => Products/Utf8Splitter/txtng3normalizer.py (100%) rename version.txt => Products/Utf8Splitter/version.txt (100%) create mode 100644 Products/__init__.py create mode 100644 setup.py diff --git a/README.txt b/Products/Utf8Splitter/README.txt similarity index 100% rename from README.txt rename to Products/Utf8Splitter/README.txt diff --git a/Utf8Splitter.py b/Products/Utf8Splitter/Utf8Splitter.py similarity index 100% rename from Utf8Splitter.py rename to Products/Utf8Splitter/Utf8Splitter.py diff --git a/__init__.py b/Products/Utf8Splitter/__init__.py similarity index 100% rename from __init__.py rename to Products/Utf8Splitter/__init__.py diff --git a/license.txt b/Products/Utf8Splitter/license.txt similarity index 100% rename from license.txt rename to Products/Utf8Splitter/license.txt diff --git a/overrides.zcml b/Products/Utf8Splitter/overrides.zcml similarity index 100% rename from overrides.zcml rename to Products/Utf8Splitter/overrides.zcml diff --git a/txtng3normalizer.py b/Products/Utf8Splitter/txtng3normalizer.py similarity index 100% rename from txtng3normalizer.py rename to Products/Utf8Splitter/txtng3normalizer.py diff --git a/version.txt b/Products/Utf8Splitter/version.txt similarity index 100% rename from version.txt rename to Products/Utf8Splitter/version.txt 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..7224400 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +from setuptools import setup, find_packages + + +setup(name='Products.Utf8Splitter', + version='3.0', + description='utf-8 splitter / normalizer for Zope ZCTextIndex', + 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