diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7184736..fa536e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,10 +8,10 @@ jobs: fail-fast: false matrix: python-version: - - "3.6" - "3.7" - "3.8" - "3.9" + - "3.10" steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index c02873d..26a9d5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Method to deep compare data structures containing `dict`, `list` and `tuple` types. - Method to partially deep compare data structures containing `dict`, `list` and `tuple` types. -[Unreleased]: https://github.com/anexia-it/python-deepcompare/compare/1.0.1...HEAD -[1.0.1]: https://github.com/anexia-it/python-deepcompare/compare/1.0.0...1.0.1 -[1.0.0]: https://github.com/anexia-it/python-deepcompare/releases/tag/1.0.0 +[Unreleased]: https://github.com/anexia/python-deepcompare/compare/1.0.1...HEAD +[1.0.1]: https://github.com/anexia/python-deepcompare/compare/1.0.0...1.0.1 +[1.0.0]: https://github.com/anexia/python-deepcompare/releases/tag/1.0.0 diff --git a/README.md b/README.md index 381c878..425de80 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -python-deepcompare -================== +deepcompare +=========== -[![PyPI](https://badge.fury.io/py/python-deepcompare.svg)](https://pypi.org/project/python-deepcompare/) -[![Test Status](https://github.com/anexia-it/python-deepcompare/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/anexia-it/python-deepcompare/actions/workflows/test.yml) -[![Codecov](https://codecov.io/gh/anexia-it/python-deepcompare/branch/main/graph/badge.svg)](https://codecov.io/gh/anexia-it/python-deepcompare) +[![PyPI](https://badge.fury.io/py/deepcompare.svg)](https://pypi.org/project/deepcompare/) +[![Test Status](https://github.com/anexia/python-deepcompare/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/anexia/python-deepcompare/actions/workflows/test.yml) +[![Codecov](https://codecov.io/gh/anexia/python-deepcompare/branch/main/graph/badge.svg)](https://codecov.io/gh/anexia/python-deepcompare) -`python-deepcompare` is a library to deep compare data structures with each other. It can check if two data +`deepcompare` is a library to deep compare data structures with each other. It can check if two data structures contain the same data, or if a data structure is a subset of another data structure. The library supports `Sequence` (e.g. `list` or `tuple`) and `Mapping` (e.g. `dict`) types for the deep comparison. @@ -14,13 +14,13 @@ supports `Sequence` (e.g. `list` or `tuple`) and `Mapping` (e.g. `dict`) types f With a [correctly configured](https://pipenv.pypa.io/en/latest/basics/#basic-usage-of-pipenv) `pipenv` toolchain: ```sh -pipenv install python-deepcompare +pipenv install deepcompare ``` You may also use classic `pip` to install the package: ```sh -pip install python-deepcompare +pip install deepcompare ``` # Getting started diff --git a/requirements.txt b/requirements.txt index 3616f70..fff50ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,6 @@ codecov>=2.1,<2.2 setuptools>=42 wheel>=0.37 twine>=3.4 + +# fix importlib version to avoid "AttributeError: 'EntryPoints' object has no attribute 'get'" with flake8 +importlib-metadata<5.0 diff --git a/setup.py b/setup.py index 05f2975..b0ee198 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( - name='python-deepcompare', + name='deepcompare', version=os.getenv('PACKAGE_VERSION', '0.0.0').replace('refs/tags/', ''), packages=find_packages(), include_package_data=True, @@ -17,7 +17,7 @@ description='A library for deep comparison of data structures consisting of `dict`, `list` and `tuple`.', long_description=readme, long_description_content_type='text/markdown', - url='https://github.com/anexia-it/python-deepcompare', + url='https://github.com/anexia/python-deepcompare', author='Andreas Stocker', author_email='AStocker@anexia-it.com', install_requires=[],