Skip to content

Commit

Permalink
Merge pull request #32 from phausamann/devel
Browse files Browse the repository at this point in the history
Fix packaging
  • Loading branch information
phausamann authored Jan 13, 2022
2 parents 2d4fbb1 + 80e578d commit 307ab18
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.0
current_version = 0.9.1
commit = True

[bumpversion:file:setup.py]
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@ jobs:
run: python setup.py install
- name: Test with pytest
run: pytest

package:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install build dependencies
run: pip install setuptools wheel
- name: Package
run: python setup.py sdist bdist_wheel
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
9 changes: 9 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
History
=======

0.9.1 (January 13th, 2022)
--------------------------

Bug fixes & improvements
~~~~~~~~~~~~~~~~~~~~~~~~

* Fixed package installation through pip (version 0.9.0 is no longer available).


0.9.0 (December 29th, 2021)
---------------------------

Expand Down
6 changes: 0 additions & 6 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,3 @@ include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
include README.rst

recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
2 changes: 1 addition & 1 deletion docs/_static/envs/example-env-ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
- phausamann
dependencies:
- python=3.8
- rigid-body-motion=0.9.0
- rigid-body-motion=0.9.1
- numba
- xarray
- netcdf4
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/envs/example-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- phausamann
dependencies:
- python=3.8
- rigid-body-motion=0.9.0
- rigid-body-motion=0.9.1
- numba
- xarray
- netcdf4
Expand Down
2 changes: 1 addition & 1 deletion rigid_body_motion/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Top-level package for rigid-body-motion."""
__author__ = """Peter Hausamann"""
__email__ = "peter.hausamann@tum.de"
__version__ = "0.9.0"
__version__ = "0.9.1"

# ROS module has to be imported first because of PyKDL
from . import ros # noqa
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
name="rigid-body-motion",
packages=find_packages(exclude=["tests"]),
url="https://github.com/phausamann/rigid-body-motion",
version="0.9.0",
version="0.9.1",
zip_safe=False,
)

0 comments on commit 307ab18

Please sign in to comment.