From: Benoît Pin <pin@cri.ensmp.fr>
Date: Mon, 22 Dec 2014 16:45:09 +0000 (+0100)
Subject: eggification
X-Git-Url: https://scm.cri.ensmp.fr/git/iso_3166_1.git/commitdiff_plain?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/iso_3166_1/__init__.py
similarity index 100%
rename from __init__.py
rename to Products/iso_3166_1/__init__.py
diff --git a/_sources/iso_3166-1_list_en.xml b/Products/iso_3166_1/_sources/iso_3166-1_list_en.xml
similarity index 100%
rename from _sources/iso_3166-1_list_en.xml
rename to Products/iso_3166_1/_sources/iso_3166-1_list_en.xml
diff --git a/_sources/iso_3166-1_list_fr.xml b/Products/iso_3166_1/_sources/iso_3166-1_list_fr.xml
similarity index 100%
rename from _sources/iso_3166-1_list_fr.xml
rename to Products/iso_3166_1/_sources/iso_3166-1_list_fr.xml
diff --git a/_sources/make.py b/Products/iso_3166_1/_sources/make.py
similarity index 100%
rename from _sources/make.py
rename to Products/iso_3166_1/_sources/make.py
diff --git a/configure.zcml b/Products/iso_3166_1/configure.zcml
similarity index 100%
rename from configure.zcml
rename to Products/iso_3166_1/configure.zcml
diff --git a/en.py b/Products/iso_3166_1/en.py
similarity index 100%
rename from en.py
rename to Products/iso_3166_1/en.py
diff --git a/fr.py b/Products/iso_3166_1/fr.py
similarity index 100%
rename from fr.py
rename to Products/iso_3166_1/fr.py
diff --git a/iso_3166_1.py b/Products/iso_3166_1/iso_3166_1.py
similarity index 100%
rename from iso_3166_1.py
rename to Products/iso_3166_1/iso_3166_1.py
diff --git a/locales/en/LC_MESSAGES/iso_3166_1.mo b/Products/iso_3166_1/locales/en/LC_MESSAGES/iso_3166_1.mo
similarity index 100%
rename from locales/en/LC_MESSAGES/iso_3166_1.mo
rename to Products/iso_3166_1/locales/en/LC_MESSAGES/iso_3166_1.mo
diff --git a/locales/en/LC_MESSAGES/iso_3166_1.po b/Products/iso_3166_1/locales/en/LC_MESSAGES/iso_3166_1.po
similarity index 100%
rename from locales/en/LC_MESSAGES/iso_3166_1.po
rename to Products/iso_3166_1/locales/en/LC_MESSAGES/iso_3166_1.po
diff --git a/locales/fr/LC_MESSAGES/iso_3166_1.mo b/Products/iso_3166_1/locales/fr/LC_MESSAGES/iso_3166_1.mo
similarity index 100%
rename from locales/fr/LC_MESSAGES/iso_3166_1.mo
rename to Products/iso_3166_1/locales/fr/LC_MESSAGES/iso_3166_1.mo
diff --git a/locales/fr/LC_MESSAGES/iso_3166_1.po b/Products/iso_3166_1/locales/fr/LC_MESSAGES/iso_3166_1.po
similarity index 100%
rename from locales/fr/LC_MESSAGES/iso_3166_1.po
rename to Products/iso_3166_1/locales/fr/LC_MESSAGES/iso_3166_1.po
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..dc88d05
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,17 @@
+# -*- coding: utf-8 -*-
+from setuptools import setup, find_packages
+
+
+setup(name='Products.iso_3166_1',
+      version='3.0',
+      description='iso 3166-1 country codes for Zope',
+      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
+      )