From 863871efa8f8dd350ac49638efd58ee74809e14c Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Oct 2018 14:34:28 +0000 Subject: [PATCH] [ADD] setup.py --- setup/_metapackage/VERSION.txt | 1 + setup/_metapackage/setup.py | 17 +++++++++++++++++ setup/contract/odoo/addons/contract | 1 + setup/contract/setup.py | 6 ++++++ 4 files changed, 25 insertions(+) create mode 100644 setup/_metapackage/VERSION.txt create mode 100644 setup/_metapackage/setup.py create mode 120000 setup/contract/odoo/addons/contract create mode 100644 setup/contract/setup.py diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt new file mode 100644 index 000000000..4f4c983b9 --- /dev/null +++ b/setup/_metapackage/VERSION.txt @@ -0,0 +1 @@ +12.0.20181029.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py new file mode 100644 index 000000000..c6518eaa1 --- /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="odoo12-addons-oca-contract", + description="Meta package for oca-contract Odoo addons", + version=version, + install_requires=[ + 'odoo12-addon-contract', + ], + classifiers=[ + 'Programming Language :: Python', + 'Framework :: Odoo', + ] +) diff --git a/setup/contract/odoo/addons/contract b/setup/contract/odoo/addons/contract new file mode 120000 index 000000000..28176509d --- /dev/null +++ b/setup/contract/odoo/addons/contract @@ -0,0 +1 @@ +../../../../contract \ No newline at end of file diff --git a/setup/contract/setup.py b/setup/contract/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/contract/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)