From 63b9c06237333f32c08e964c90404674b1ec7453 Mon Sep 17 00:00:00 2001 From: OCA Git Bot Date: Thu, 21 Jun 2018 04:48:21 +0200 Subject: [PATCH] [ADD] setup.py --- setup/_metapackage/VERSION.txt | 1 + setup/_metapackage/setup.py | 17 +++++++++++++++++ setup/privacy/odoo/__init__.py | 1 + setup/privacy/odoo/addons/__init__.py | 1 + setup/privacy/odoo/addons/privacy | 1 + setup/privacy/setup.py | 6 ++++++ 6 files changed, 27 insertions(+) create mode 100644 setup/_metapackage/VERSION.txt create mode 100644 setup/_metapackage/setup.py create mode 100644 setup/privacy/odoo/__init__.py create mode 100644 setup/privacy/odoo/addons/__init__.py create mode 120000 setup/privacy/odoo/addons/privacy create mode 100644 setup/privacy/setup.py diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt new file mode 100644 index 0000000..821bd8e --- /dev/null +++ b/setup/_metapackage/VERSION.txt @@ -0,0 +1 @@ +10.0.20180621.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py new file mode 100644 index 0000000..226cd5a --- /dev/null +++ b/setup/_metapackage/setup.py @@ -0,0 +1,17 @@ +import setuptools + +with open('VERSION.txt', 'r') as f: + version = f.read().strip() + +setuptools.setup( + name="odoo10-addons-oca-data-protection", + description="Meta package for oca-data-protection Odoo addons", + version=version, + install_requires=[ + 'odoo10-addon-privacy', + ], + classifiers=[ + 'Programming Language :: Python', + 'Framework :: Odoo', + ] +) diff --git a/setup/privacy/odoo/__init__.py b/setup/privacy/odoo/__init__.py new file mode 100644 index 0000000..de40ea7 --- /dev/null +++ b/setup/privacy/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/privacy/odoo/addons/__init__.py b/setup/privacy/odoo/addons/__init__.py new file mode 100644 index 0000000..de40ea7 --- /dev/null +++ b/setup/privacy/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/privacy/odoo/addons/privacy b/setup/privacy/odoo/addons/privacy new file mode 120000 index 0000000..babb15b --- /dev/null +++ b/setup/privacy/odoo/addons/privacy @@ -0,0 +1 @@ +../../../../privacy \ No newline at end of file diff --git a/setup/privacy/setup.py b/setup/privacy/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/privacy/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)