Skip to content

Commit

Permalink
Merge pull request #12 from lbdreyer/version_bump
Browse files Browse the repository at this point in the history
Bump version number; update file headers
  • Loading branch information
bjlittle authored Jul 26, 2022
2 parents b0faf58 + f6d1257 commit 21a199b
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 108 deletions.
20 changes: 4 additions & 16 deletions lib/mo_pack/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
# (C) British Crown Copyright 2015, Met Office
# Copyright mo_pack contributors
#
# This file is part of mo_pack.
#
# mo_pack is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mo_pack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mo_pack. If not, see <http://www.gnu.org/licenses/>.
# This file is part of mo_pack and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
from __future__ import absolute_import, division, print_function

from ._packing import (compress_rle, compress_wgdos,
decompress_rle, decompress_wgdos)

__version__ = '0.2.0'
__version__ = '0.2.0.post0'
19 changes: 3 additions & 16 deletions lib/mo_pack/_packing.pyx
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
# (C) British Crown Copyright 2015, Met Office
# Copyright mo_pack contributors
#
# This file is part of mo_pack.
#
# mo_pack is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mo_pack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mo_pack. If not, see <http://www.gnu.org/licenses/>.

# This file is part of mo_pack and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
from __future__ import absolute_import, division, print_function

import numpy as np
Expand Down
18 changes: 3 additions & 15 deletions lib/mo_pack/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# (C) British Crown Copyright 2015, Met Office
# Copyright mo_pack contributors
#
# This file is part of mo_pack.
#
# mo_pack is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mo_pack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mo_pack. If not, see <http://www.gnu.org/licenses/>.
# This file is part of mo_pack and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""Tests for mo_pack."""

from __future__ import absolute_import, division, print_function
18 changes: 3 additions & 15 deletions lib/mo_pack/tests/test_compress_rle.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# (C) British Crown Copyright 2015, Met Office
# Copyright mo_pack contributors
#
# This file is part of mo_pack.
#
# mo_pack is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mo_pack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mo_pack. If not, see <http://www.gnu.org/licenses/>.
# This file is part of mo_pack and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""Tests for the `mo_pack.compress_rle` function."""

from __future__ import absolute_import, division, print_function
Expand Down
18 changes: 3 additions & 15 deletions lib/mo_pack/tests/test_decompress_rle.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# (C) British Crown Copyright 2015, Met Office
# Copyright mo_pack contributors
#
# This file is part of mo_pack.
#
# mo_pack is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mo_pack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mo_pack. If not, see <http://www.gnu.org/licenses/>.
# This file is part of mo_pack and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""Tests for the `mo_pack.decompress_rle` function."""

from __future__ import absolute_import, division, print_function
Expand Down
18 changes: 3 additions & 15 deletions lib/mo_pack/tests/test_rle.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# (C) British Crown Copyright 2015, Met Office
# Copyright mo_pack contributors
#
# This file is part of mo_pack.
#
# mo_pack is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mo_pack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mo_pack. If not, see <http://www.gnu.org/licenses/>.
# This file is part of mo_pack and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Integration tests for the `mo_pack.compress_rle` and
`mo_pack.decompress_rle` functions.
Expand Down
18 changes: 3 additions & 15 deletions lib/mo_pack/tests/test_wgdos.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# (C) British Crown Copyright 2015, Met Office
# Copyright mo_pack contributors
#
# This file is part of mo_pack.
#
# mo_pack is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mo_pack is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mo_pack. If not, see <http://www.gnu.org/licenses/>.
# This file is part of mo_pack and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Tests for the `mo_pack.compress_wgdos` and `mo_pack.decompress_wgdos`
functions.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def file_walk_relative(top, remove=''):
setup(
name='mo_pack',
description='Python wrapper to libmo_unpack',
version='0.2.0',
version='0.2.0.post0',
ext_modules=cythonize(extensions),
packages=['mo_pack', 'mo_pack.tests'],
package_dir={'': 'lib'},
Expand Down

0 comments on commit 21a199b

Please sign in to comment.