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 3, 2018
1 parent 20a175f commit 2c94413
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup/_metapackage/VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10.0.20181003.0
17 changes: 17 additions & 0 deletions setup/_metapackage/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import setuptools

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

setuptools.setup(
name="odoo10-addons-oca-purchase-reporting",
description="Meta package for oca-purchase-reporting Odoo addons",
version=version,
install_requires=[
'odoo10-addon-purchase_comment_template',
],
classifiers=[
'Programming Language :: Python',
'Framework :: Odoo',
]
)
1 change: 1 addition & 0 deletions setup/purchase_comment_template/odoo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
1 change: 1 addition & 0 deletions setup/purchase_comment_template/odoo/addons/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
6 changes: 6 additions & 0 deletions setup/purchase_comment_template/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 2c94413

Please sign in to comment.