Skip to content

Commit

Permalink
[ADD] setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Oct 6, 2018
1 parent 7acf754 commit 7044b1e
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup/.setuptools-odoo-make-default-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# addons listed in this file are ignored by
# setuptools-odoo-make-default (one addon per line)
2 changes: 2 additions & 0 deletions setup/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
To learn more about this directory, please visit
https://pypi.python.org/pypi/setuptools-odoo
1 change: 1 addition & 0 deletions setup/_metapackage/VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12.0.20181006.0
18 changes: 18 additions & 0 deletions setup/_metapackage/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import setuptools

with open('VERSION.txt', 'r') as f:
version = f.read().strip()

setuptools.setup(
name="odoo12-addons-oca-e-commerce",
description="Meta package for oca-e-commerce Odoo addons",
version=version,
install_requires=[
'odoo12-addon-website_sale_require_login',
'odoo12-addon-website_sale_suggest_create_account',
],
classifiers=[
'Programming Language :: Python',
'Framework :: Odoo',
]
)
6 changes: 6 additions & 0 deletions setup/website_sale_require_login/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
6 changes: 6 additions & 0 deletions setup/website_sale_suggest_create_account/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 7044b1e

Please sign in to comment.