Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/MilanSkocic/codata into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Nov 20, 2023
2 parents 07d31ef + c8db4b1 commit b389ec8
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 18 deletions.
28 changes: 28 additions & 0 deletions documentation/sphinx/source/releases/0.8.2-notes.rst
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/MilanSkocic/codata/releases>`_

`PYPI <https://pypi.org/project/pycodata>`_


Contributors
---------------
Milan Skocic

Commits
---------

**Full Changelog**: https://github.com/MilanSkocic/codata/compare/0.8.1...0.8.2
2 changes: 1 addition & 1 deletion fpm.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"
Expand Down
19 changes: 11 additions & 8 deletions pywrapper/build.bat
Original file line number Diff line number Diff line change
@@ -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
17 changes: 10 additions & 7 deletions pywrapper/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pywrapper/pycodata/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Version module.
"""
__all__ = ["__version__"]
__version__ = "0.8.1"
__version__ = "0.8.2"
2 changes: 1 addition & 1 deletion pywrapper/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"}]
description = "pycodata: CODATA constants for python."
readme = "README.rst"
Expand Down

0 comments on commit b389ec8

Please sign in to comment.