Skip to content

Commit

Permalink
fix README images; setup.py verison acquisition
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascar committed Sep 13, 2021
1 parent 34eaf3f commit 6341c70
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
---------

v5.2.3
~~~~~~

Changes:

* fix README image display
* fix version acquisition in setup.py

v5.2.2
~~~~~~

Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
.. |PyPI badge| image:: https://badge.fury.io/py/owlrl.svg
:target: https://badge.fury.io/py/owlrl

.. |OWL-RL Logo| image:: OWL-RL-250.png
.. |OWL-RL Logo| image:: https://raw.githubusercontent.com/RDFLib/OWL-RL/master/OWL-RL.png
:width: 250
:target: http://owl-rl.readthedocs.io/


Expand Down
2 changes: 1 addition & 1 deletion owlrl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"""

# Examples: LangString is disjoint from String
__version__ = "5.2.2"
__version__ = "5.2.3"
__author__ = "Ivan Herman"
__contact__ = "Ivan Herman, ivan@w3.org"
__license__ = "W3C® SOFTWARE NOTICE AND LICENSE, http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231"
Expand Down
2 changes: 2 additions & 0 deletions pypi.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rm -r .pytest_cache build dist owlrl.egg-info

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def open_local(paths, mode="r", encoding="utf8"):

with open_local(["owlrl", "__init__.py"], encoding="utf-8") as fp:
try:
version = re.findall(r"^__version__ = '([^']+)'\r?$", fp.read(), re.M)[0]
version = re.findall(r'^__version__ = "([^"]+)"\r?$', fp.read(), re.M)[0]
except IndexError:
raise RuntimeError("Unable to determine version.")

Expand Down

0 comments on commit 6341c70

Please sign in to comment.