[REF]Hy Odoo new package
This commit is contained in:
parent
dff6311d81
commit
2d520c2d8a
@ -1,31 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
{
|
|
||||||
'name': 'HY base module and macros',
|
|
||||||
'summary': 'Hylang base module and macros',
|
|
||||||
'description': """ Hylang base module and macros """,
|
|
||||||
'version': '12.0.0.1.0',
|
|
||||||
'category': 'HY',
|
|
||||||
'author': 'Fabien Bourgeois',
|
|
||||||
'license': 'AGPL-3',
|
|
||||||
'application': False,
|
|
||||||
'installable': True,
|
|
||||||
'depends': ['base'],
|
|
||||||
'data': [],
|
|
||||||
"external_dependencies": {'python' : ['hy']}
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2020 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
BIN
hy_odoo/__init__.pyc
Normal file
BIN
hy_odoo/__init__.pyc
Normal file
Binary file not shown.
BIN
hy_odoo/__pycache__/__init__.cpython-38.pyc
Normal file
BIN
hy_odoo/__pycache__/__init__.cpython-38.pyc
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
;; -*- coding: utf-8 -*-
|
;; -*- coding: utf-8 -*-
|
||||||
;;
|
;;
|
||||||
;; Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
|
;; Copyright 2019-2020 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
;;
|
;;
|
||||||
;; This program is free software: you can redistribute it and/or modify
|
;; This program is free software: you can redistribute it and/or modify
|
||||||
;; it under the terms of the GNU Affero General Public License as
|
;; it under the terms of the GNU Affero General Public License as
|
||||||
@ -18,7 +18,8 @@
|
|||||||
" Odoo macros "
|
" Odoo macros "
|
||||||
|
|
||||||
(import [os [path]])
|
(import [os [path]])
|
||||||
(import logging [odoo.addons.hy_base.xml [*]])
|
(import logging)
|
||||||
|
(import [hy-odoo.xml [xmlroot xmln]])
|
||||||
(setv logger (.getLogger logging __name__))
|
(setv logger (.getLogger logging __name__))
|
||||||
|
|
||||||
(defmacro if-python2 [python2-form python3-form]
|
(defmacro if-python2 [python2-form python3-form]
|
BIN
hy_odoo/odoo.pyc
Normal file
BIN
hy_odoo/odoo.pyc
Normal file
Binary file not shown.
BIN
hy_odoo/xml.pyc
Normal file
BIN
hy_odoo/xml.pyc
Normal file
Binary file not shown.
24
setup.py
Normal file
24
setup.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name="hy_odoo",
|
||||||
|
version="0.1",
|
||||||
|
packages=find_packages(),
|
||||||
|
package_data={
|
||||||
|
'hy_odoo': ['*.hy'],
|
||||||
|
},
|
||||||
|
install_requires=["hy==0.17.0"],
|
||||||
|
author="Fabien Bourgeois",
|
||||||
|
author_email="fabien@yaltik.com",
|
||||||
|
description="HY functions and macros for Odoo",
|
||||||
|
keywords="odoo hy hylang",
|
||||||
|
url="https://git.yaltik.net/Yaltik/hy_odoo",
|
||||||
|
classifiers=[
|
||||||
|
'Development Status :: 3 - Alpha',
|
||||||
|
'Intended Audience :: Developers',
|
||||||
|
'License :: OSI Approved :: MPL2 License',
|
||||||
|
'Programming Language :: Python :: 2',
|
||||||
|
'Programming Language :: Python :: 2.7',
|
||||||
|
'Programming Language :: Python :: 3',
|
||||||
|
]
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user