Ajout script d'installation.
authorBenoît Pin <pin@cri.ensmp.fr>
Thu, 18 Dec 2014 17:34:24 +0000 (18:34 +0100)
committerBenoît Pin <pin@cri.ensmp.fr>
Thu, 18 Dec 2014 17:34:24 +0000 (18:34 +0100)
Products/__init__.py [new file with mode: 0644]
setup.py [new file with mode: 0644]

diff --git a/Products/__init__.py b/Products/__init__.py
new file mode 100644 (file)
index 0000000..d407605
--- /dev/null
@@ -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 (file)
index 0000000..c3a7a25
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,14 @@
+# -*- coding: utf-8 -*-
+from setuptools import setup, find_packages
+
+
+setup(name='Products.Plinn',
+      version='3.0',
+      descripton='Plinn content management framework',
+      author="Benoît Pin – MINES ParisTech – Armines"
+      license="GPL",
+      packages=find_packages(),
+      include_package_data=True,
+      namespace_packages=['Products'],
+      zip_safe=False
+      )