diff --git a/.release b/.release index 61d1eb95066e530d4bc84129d89e0e04cdccec96..1aa250e01a45c9afcc2c16a62913533f2c397971 100644 --- a/.release +++ b/.release @@ -1,2 +1,2 @@ -release=0.5.0 -tag=lmcbaseclasses-0.5.0 +release=0.5.1 +tag=lmcbaseclasses-0.5.1 diff --git a/README.md b/README.md index 062964ced0f34336acd40a4e59eb9c1a432b1c0f..cddc3f6e8627c1dad3f917189b21770e17773743 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/setup.py b/setup.py index 4fa43b546c40887008c42c0325eefe3fe6633c8d..1f9b7cbf57b6176c98997dbf75a61a3a6403a150 100644 --- a/setup.py +++ b/setup.py @@ -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/", diff --git a/src/ska/__init__.py b/src/ska/__init__.py deleted file mode 100644 index de273ad04735bb6418fa5f6045fab578991077e8..0000000000000000000000000000000000000000 --- a/src/ska/__init__.py +++ /dev/null @@ -1,8 +0,0 @@ -"""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! *** - -""" diff --git a/src/ska/base/release.py b/src/ska/base/release.py index 6aa5bbccfe58a913ee3aeaaf176a6348f2bbe81f..9f326dd85d6c7f2833e1cf11dd09238d72f53d9e 100644 --- a/src/ska/base/release.py +++ b/src/ska/base/release.py @@ -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" diff --git a/test-harness/Makefile b/test-harness/Makefile index dc149f5dcefcd509330e23b0cd17a3f430d6f586..67cac2f643ce445cf1bbfd5084c1556ac4158047 100644 --- a/test-harness/Makefile +++ b/test-harness/Makefile @@ -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