diff --git a/python/hopsworks_common/__init__.py b/python/hopsworks_common/__init__.py new file mode 100644 index 000000000..ff8055b9b --- /dev/null +++ b/python/hopsworks_common/__init__.py @@ -0,0 +1,15 @@ +# +# Copyright 2024 Hopsworks AB +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# 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/python/pyproject.toml b/python/pyproject.toml index 9452f5061..e3970c466 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -94,7 +94,7 @@ build-backend = "setuptools.build_meta" [tool.setuptools.packages.find] exclude = ["tests*"] -include = ["../README.md", "../LICENSE", "hopsworks*", "hsfs*", "hsml*"] +include = ["../README.md", "../LICENSE", "hopsworks*", "hsfs*", "hsml*", "hopsworks_common*"] [tool.setuptools.dynamic] version = { attr = "hopsworks.version.__version__" } @@ -166,7 +166,7 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" [tool.ruff.lint.isort] lines-after-imports = 2 -known-third-party = ["hopsworks", "hsfs", "hsml"] +known-third-party = ["hopsworks", "hsfs", "hsml", "hopsworks_common"] [tool.ruff.format]