From 7c8b6bcb8110d1105e9b79180dfdf5ccfcadfbd6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 6 Dec 2024 13:40:00 +0100 Subject: [PATCH] Updates --- .../electrical_heating_job/entry_points/__init__.py | 13 +++++++++++++ .../{ => entry_points}/entry_point.py | 0 source/electrical_heating/setup.py | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 source/electrical_heating/electrical_heating_job/entry_points/__init__.py rename source/electrical_heating/electrical_heating_job/{ => entry_points}/entry_point.py (100%) diff --git a/source/electrical_heating/electrical_heating_job/entry_points/__init__.py b/source/electrical_heating/electrical_heating_job/entry_points/__init__.py new file mode 100644 index 00000000..63d6c7ac --- /dev/null +++ b/source/electrical_heating/electrical_heating_job/entry_points/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 Energinet DataHub A/S +# +# Licensed under the Apache License, Version 2.0 (the "License2"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/source/electrical_heating/electrical_heating_job/entry_point.py b/source/electrical_heating/electrical_heating_job/entry_points/entry_point.py similarity index 100% rename from source/electrical_heating/electrical_heating_job/entry_point.py rename to source/electrical_heating/electrical_heating_job/entry_points/entry_point.py diff --git a/source/electrical_heating/setup.py b/source/electrical_heating/setup.py index b42f66a1..2b978a8e 100644 --- a/source/electrical_heating/setup.py +++ b/source/electrical_heating/setup.py @@ -33,7 +33,7 @@ ], entry_points={ "console_scripts": [ - "execute = electrical_heating_job.entry_point:execute", + "execute = electrical_heating_job.entry_points.entry_point:execute", ] }, )