diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 7676178..2717d14 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -24,15 +24,13 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip setuptools - DEPENDENCIES=$(python -c 'from setuptools.config.setupcfg import read_configuration as c; a = c("setup.cfg"); print(" ".join(a["options"]["install_requires"][1:]))') - pip install ${DEPENDENCIES} - DOCDEPENDENCIES=$(python -c 'with open("docs/requirements.txt") as a: available = list(a); print(" ".join(map(lambda x : x.strip(), filter(lambda x : not x.startswith("#"), available))))') - pip install ${DOCDEPENDENCIES} + pip install cmake pybind11 numpy tox - name: Build docs run: | - touch src/rds2py/rds_parser.py - sphinx-build --color -b html -d docs/doctrees docs docs/_build/html + python setup.py build_ext --inplace + cp build/lib*/rds2py/rds_parser* src/rds2py/ + tox -e docs touch ./docs/_build/html/.nojekyll - name: GH Pages Deployment diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c88097..ac57df2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -## Version 0,.4.5 +## Development + +- Fix github issue with showing incorrect package version on github pages. + +## Version 0.4.5 - Switch to pybind11 to implementing the bindings to rds2cpp. - Update tests, documentation and actions. diff --git a/setup.py b/setup.py index 5a221d5..8649f6a 100644 --- a/setup.py +++ b/setup.py @@ -67,8 +67,6 @@ def build_cmake(self, ext): if __name__ == "__main__": - import os - try: setup( use_scm_version={"version_scheme": "no-guess-dev"},