Skip to content
Snippets Groups Projects
Commit 22db2b66 authored by Anton Joubert's avatar Anton Joubert
Browse files

Merge branch 'fix-namespace-pkg' into 'master'

make 'ska' proper namespace package

See merge request ska-telescope/lmc-base-classes!16
parents 1d36c197 f63b09c0
No related branches found
No related tags found
No related merge requests found
release=0.5.0
tag=lmcbaseclasses-0.5.0
release=0.5.1
tag=lmcbaseclasses-0.5.1
......@@ -25,6 +25,10 @@ The lmc-base-classe repository contains set of eight classes as mentioned in SKA
## Version History
#### 0.5.1
- Make 'ska' a [native namespace package](https://packaging.python.org/guides/packaging-namespace-packages/#native-namespace-packages).
No change to usage.
#### 0.5.0
- Breaking change: Major restructuring of the package to simplify imports and reduce confusion.
- The single word `skabase` module has now changed to two words: `ska.base`.
......
......@@ -20,7 +20,7 @@ setuptools.setup(
author=author,
author_email=author_email,
license=license,
packages=setuptools.find_packages(where="src"),
packages=setuptools.find_namespace_packages(where="src", include=["ska.*"]),
package_dir={"": "src"},
include_package_data=True,
url="https://www.skatelescope.org/",
......
"""Empty ska namespace __init__ file.
The "ska" package namespace is shared across multiple projects
so it will be overwritten by the last package installed.
*** DO NOT implement anything in this file! ***
"""
......@@ -7,7 +7,7 @@
"""Release information for lmc-base-classes Python Package"""
name = """lmcbaseclasses"""
version = "0.5.0"
version = "0.5.1"
version_info = version.split(".")
description = """A set of generic base devices for SKA Telescope."""
author = "SKA India and SARAO"
......
......@@ -36,7 +36,7 @@ test:
lint:
python3 -m pip install pylint2junit; \
mkdir -p /build/reports; \
cd /app && pylint --output-format=parseable ska.base | tee /build/code_analysis.stdout; \
cd /app && pylint --output-format=pylint2junit.JunitReporter ska.base > /build/reports/linting.xml;
cd /app && pylint --output-format=parseable src/ska | tee /build/code_analysis.stdout; \
cd /app && pylint --output-format=pylint2junit.JunitReporter src/ska > /build/reports/linting.xml;
.PHONY: all test lint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment