From: Benoît Pin Date: Fri, 19 Dec 2014 17:30:37 +0000 (+0100) Subject: eggification X-Git-Url: https://scm.cri.ensmp.fr/git/Utf8Splitter.git/commitdiff_plain/refs/heads/master-egg eggification --- 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 + )