From e32a4c0d01e4996946b6da15868e86678f0e4b31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 18 Dec 2014 18:34:24 +0100 Subject: [PATCH 1/1] Ajout script d'installation. --- Products/__init__.py | 5 +++++ setup.py | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Products/__init__.py create mode 100644 setup.py 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..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 + ) -- 2.20.1