From 12bcd67c1f5758809b7dc0b038417ba02cfbdc87 Mon Sep 17 00:00:00 2001 From: valpesendorfer Date: Fri, 2 Feb 2024 09:53:18 +0100 Subject: [PATCH] packaging fix, bump version --- MANIFEST.in | 2 -- README.rst | 3 ++- setup.py | 3 ++- vam/whittaker/_version.py | 1 - vam/whittaker/_version/__init__.py | 1 + 5 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 vam/whittaker/_version.py create mode 100644 vam/whittaker/_version/__init__.py diff --git a/MANIFEST.in b/MANIFEST.in index 8799654..dda7e0a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,2 @@ - -include _version/__init__.py include README.rst recursive-include tests *py \ No newline at end of file diff --git a/README.rst b/README.rst index 8c1acd5..1341a6b 100644 --- a/README.rst +++ b/README.rst @@ -88,7 +88,8 @@ CHANGES - restructure and improve packaging - v2.0.4: - fix module import - +- v2.0.5: + - fix wheel packaging ----- diff --git a/setup.py b/setup.py index 854f838..69754dd 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # pylint: disable=invalid-name, line-too-long """setup.py for VAM whittaker core""" -from setuptools import setup, Extension +from setuptools import setup, Extension, find_packages import numpy @@ -43,6 +43,7 @@ setup( include_dirs=[numpy.get_include()], cmdclass=cmdclass, + packages=find_packages(), ext_modules=ext_modules, setup_requires=["pytest-runner"], tests_require=["pytest"], diff --git a/vam/whittaker/_version.py b/vam/whittaker/_version.py deleted file mode 100644 index f6bb6f4..0000000 --- a/vam/whittaker/_version.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "2.0.4" diff --git a/vam/whittaker/_version/__init__.py b/vam/whittaker/_version/__init__.py new file mode 100644 index 0000000..34c5111 --- /dev/null +++ b/vam/whittaker/_version/__init__.py @@ -0,0 +1 @@ +__version__ = "2.0.5"