From 9e3b6cdddc8689e302697609ce801b98ba9d235d Mon Sep 17 00:00:00 2001 From: Vilhjalmur Thorsteinsson Date: Tue, 19 Nov 2019 12:10:44 +0000 Subject: [PATCH] Release 0.0.10; added release history to README.md --- MANIFEST.in | 2 +- README.md | 9 ++++++++- release.sh | 2 ++ setup.py | 2 +- src/straeto/__init__.py | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index cf0d384..d4d97bf 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ graft src prune src/straeto/__pycache__ -recursive-exclude src/straeto/resources status_url.txt +recursive-exclude src/straeto/config status_url.txt recursive-exclude src/straeto/resources shapes.txt recursive-exclude src/straeto/resources status.xml recursive-exclude src/straeto/resources *.zip diff --git a/README.md b/README.md index 93717aa..8e53788 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Straeto -Straeto is a Python 3.x package encapsulating data about buses and bus +**Straeto** is a Python 3.x package encapsulating data about buses and bus routes of Strætó bs, an Icelandic municipal bus service. The data is fetched from the public [straeto.is website](https://straeto.is), @@ -61,6 +61,13 @@ an agreement with Strætó to get access to the data and obtain your own URL. On have your URL, put it in the file `config/status_url.txt` to enable the Straeto package to fetch real-time data. +## Release history + +* Release **0.0.10** + + Better support for Windows with explicit specification of UTF-8 encoding + for files + ## Copyright *This program is copyright © 2019 Miðeind ehf.* diff --git a/release.sh b/release.sh index 1f7dc12..69110e5 100755 --- a/release.sh +++ b/release.sh @@ -1,4 +1,6 @@ echo "Prepare and upload a new Straeto version" +rm -rf build/ +rm -rf dist/ python setup.py bdist_wheel --universal python setup.py sdist twine upload dist/straeto-$1* diff --git a/setup.py b/setup.py index d3d47ac..ee276a3 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def read(*names, **kwargs): setup( name="straeto", # Remember to modify version number in src/straeto/__init__.py as well - version="0.0.8", + version="0.0.10", license="GNU GPLv3", description="A package for information about buses and bus routes", long_description="{0}\n".format(read("README.md")), diff --git a/src/straeto/__init__.py b/src/straeto/__init__.py index 1a82fc4..ed44510 100644 --- a/src/straeto/__init__.py +++ b/src/straeto/__init__.py @@ -47,5 +47,5 @@ __author__ = "Miðeind ehf." __copyright__ = "(C) 2019 Miðeind ehf." # Remember to update the version in setup.py as well -__version__ = "0.0.8" +__version__ = "0.0.10"