Skip to content

Commit

Permalink
Changes to build process for Windows compatiblity.
Browse files Browse the repository at this point in the history
Update changelog for release.
  • Loading branch information
CecSve committed Jun 23, 2022
1 parent eb21733 commit 8c7221b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
7 changes: 6 additions & 1 deletion Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
Changelog
=========

0.6.1 (2022-06-23)
------------------
- update to fix broken dependencies :issue:`93`
- minor documentation updates

0.6.0 (2021-07-08)
------------------
- Fixe for `occurrences.download` when giving `geometry` as a string rather than using `add_geometry`; predicates were being split on whitespace, which doesn't work for WKT :issue:`81` :issue:`84`
- Fix for `occurrences.download` when giving `geometry` as a string rather than using `add_geometry`; predicates were being split on whitespace, which doesn't work for WKT :issue:`81` :issue:`84`
- Moved to using the `logging` module instead of `print()` for giving information on occurrence download methods :issue:`78`
- Clarify that `occurrences.count` for length 1 inputs only; see `occurrences.search` for > 1 value :issue:`75` :issue:`77`
- Improved documentation for `species.name_usage` method, mostly for the `language` parameter :issue:`68`
Expand Down
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ pygbif

|pypi| |docs| |ghactions| |coverage| |black|

Python client for the `GBIF API
<https://www.gbif.org/developer/summary>`_
Python client for the `GBIF API <https://www.gbif.org/developer/summary>`_

`Source on GitHub at gbif/pygbif <https://github.com/gbif/pygbif>`_

Expand Down Expand Up @@ -139,8 +138,8 @@ Example usage:
out.plot()
.. image:: https://github.com/gbif/pygbif/raw/master/gbif_map.png
:width: 25%
:scale: 25%
:width: 25%
:scale: 25%

utils module
============
Expand Down Expand Up @@ -189,3 +188,5 @@ Meta

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black


8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
from setuptools import setup
from setuptools import find_packages

from pygbif import package_metadata

with codecs.open("README.rst", "r", "utf-8") as f:
readme = f.read()
readme = f.read().replace("\r", '')

with codecs.open("Changelog.rst", "r", "utf-8") as f:
changes = f.read()
changes = f.read().replace("\r", '')
changes = changes.replace(":issue:", "")
long_description = readme + "\n\n" + changes

setup(
name="pygbif",
version=package_metadata.__version__,
version="0.6.1",
description="Python client for GBIF",
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit 8c7221b

Please sign in to comment.