Skip to content

Commit 6341c70

Browse files
author
Nicholas Car
committed
fix README images; setup.py verison acquisition
1 parent 34eaf3f commit 6341c70

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
---------
33

4+
v5.2.3
5+
~~~~~~
6+
7+
Changes:
8+
9+
* fix README image display
10+
* fix version acquisition in setup.py
11+
412
v5.2.2
513
~~~~~~
614

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
.. |PyPI badge| image:: https://badge.fury.io/py/owlrl.svg
99
:target: https://badge.fury.io/py/owlrl
1010

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

1415

owlrl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"""
159159

160160
# Examples: LangString is disjoint from String
161-
__version__ = "5.2.2"
161+
__version__ = "5.2.3"
162162
__author__ = "Ivan Herman"
163163
__contact__ = "Ivan Herman, ivan@w3.org"
164164
__license__ = "W3C® SOFTWARE NOTICE AND LICENSE, http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231"

pypi.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rm -r .pytest_cache build dist owlrl.egg-info
2+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def open_local(paths, mode="r", encoding="utf8"):
1313

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

0 commit comments

Comments
 (0)