Skip to content
Snippets Groups Projects
Commit 929c7163 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: Detect missing package when preparing to build the image.

:books: update package classifiers
parent 9b320eba
No related branches found
Tags 20.5.0
1 merge request!193📝 Detect missing package when preparing to build the image.
......@@ -7,6 +7,8 @@
Allow setting db_user, db_password, log_handler and pythondevmode in a global settings file (${XDG_CONFIG_HOME-$HOME/.config}/odoo_scripts/config.toml). Configuration can be done by odoo_type too.
Detect missing package when preparing to build the image.
20.4.0
------
......
......@@ -15,5 +15,5 @@
_logger = logging.getLogger(__name__)
__version__ = "2.3.0"
__version__ = "2.3.1"
__date__ = "2020-06-30"
......@@ -19,5 +19,5 @@
__date__ = "2020-06-30"
__updated__ = "2023-06-06"
__updated__ = "2023-06-15"
PYTHON_PACKAGES_DIR = "python_packages"
......@@ -94,6 +94,11 @@
# Try to include the CVS information in target so that setuptools-scm and
# setuptools-odoo work as expected
for package, options in c.python_packages.items():
if not os.path.exists(package):
raise Exception(
"Missing %s referenced in configuration. Forgot to run "
"confnest/confman?" % package
)
if options["compile"] in ("True", "true") and (
ci_mode or build_package_locally
):
......
......@@ -11,6 +11,7 @@
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Intended Audience :: Developers",
]
keywords = ["odoo"]
dependencies = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment