diff --git a/documentation/sphinx/source/releases/0.8.2-notes.rst b/documentation/sphinx/source/releases/0.8.2-notes.rst new file mode 100644 index 0000000..440e142 --- /dev/null +++ b/documentation/sphinx/source/releases/0.8.2-notes.rst @@ -0,0 +1,28 @@ +Codata 0.8.2 Release Note +============================ + +Summary +--------------- + +* No API changes. +* Improve Makefile for generating the source code at each compilation. +* Source generator rewritten in Fortran. +* Switch to pyproject.toml for the Python wrapper. +* Minor fixes in documentation. + +Download +--------------- + +`Codata Releases `_ + +`PYPI `_ + + +Contributors +--------------- +Milan Skocic + +Commits +--------- + +**Full Changelog**: https://github.com/MilanSkocic/codata/compare/0.8.1...0.8.2 \ No newline at end of file diff --git a/fpm.toml b/fpm.toml index a523c91..ce1d69b 100644 --- a/fpm.toml +++ b/fpm.toml @@ -1,5 +1,5 @@ name = "codata" -version = "0.8.1" +version = "0.8.2" license = "GNU General Public License v3 (GPLv3)" author = "Milan Skocic" maintainer = "milan.skocic@icloud.com" diff --git a/pywrapper/build.bat b/pywrapper/build.bat index 395c2d5..f6738d3 100644 --- a/pywrapper/build.bat +++ b/pywrapper/build.bat @@ -1,21 +1,24 @@ rd /s /q build rd /s /q dist -rd /s /q pyiapws.egg-info -del .\pyiapws\*.pyd - -py -3.11 setup.py sdist +rd /s /q codata.egg-info +del .\codata\*.pyd py -3.8 setup.py build_ext --inplace py -3.9 setup.py build_ext --inplace py -3.10 setup.py build_ext --inplace py -3.11 setup.py build_ext --inplace +py -3.12 setup.py build_ext --inplace + +py -3.12 -m build --no-isolation --sdist -py -3.8 setup.py bdist_wheel -py -3.9 setup.py bdist_wheel -py -3.10 setup.py bdist_wheel -py -3.11 setup.py bdist_wheel +py -3.8 -m build --no-isolation --wheel +py -3.9 -m build --no-isolation --wheel +py -3.10 -m build --no-isolation --wheel +py -3.11 -m build --no-isolation --wheel +py -3.12 -m build --no-isolation --wheel py -3.8 -m unittest -v py -3.9 -m unittest -v py -3.10 -m unittest -v py -3.11 -m unittest -v +py -3.12 -m unittest -v diff --git a/pywrapper/build.sh b/pywrapper/build.sh index 20accb7..1ada57e 100755 --- a/pywrapper/build.sh +++ b/pywrapper/build.sh @@ -10,24 +10,27 @@ fi rm -r build rm -r dist rm -r *egg-info -rm ./pyiapws/g704*.so - -py311 setup.py sdist +rm ./pycodata/codata*.so py38 setup.py build_ext --inplace py39 setup.py build_ext --inplace py310 setup.py build_ext --inplace py311 setup.py build_ext --inplace +py312 setup.py build_ext --inplace + +py312 -m build --no-isolation --sdist -py38 setup.py bdist_wheel -py39 setup.py bdist_wheel -py310 setup.py bdist_wheel -py311 setup.py bdist_wheel +py38 -m build --no-isolation --wheel +py39 -m build --no-isolation --wheel +py310 -m build --no-isolation --wheel +py311 -m build --no-isolation --wheel +py312 -m build --no-isolation --wheel py38 -m unittest -v py39 -m unittest -v py310 -m unittest -v py311 -m unittest -v +py312 -m unittest -v if [[ "$OSTYPE" == "linux"* ]];then cd ./dist diff --git a/pywrapper/pycodata/version.py b/pywrapper/pycodata/version.py index ca8ebf1..703dbc1 100644 --- a/pywrapper/pycodata/version.py +++ b/pywrapper/pycodata/version.py @@ -2,4 +2,4 @@ Version module. """ __all__ = ["__version__"] -__version__ = "0.8.1" +__version__ = "0.8.2" diff --git a/pywrapper/pyproject.toml b/pywrapper/pyproject.toml index 883b201..f644819 100644 --- a/pywrapper/pyproject.toml +++ b/pywrapper/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pycodata" -version = "0.8.1" +version = "0.8.2" authors = [{name = "Milan Skocic", email = "milan.skocic@icloud.com"}] description = "pycodata: CODATA constants for python." readme = "README.rst"