bump to v0.1.3 (#10)

* bump to v0.1.3

* add deploy script
pull/11/head 0.1.3
Flynn 2019-10-13 22:19:18 -04:00 zatwierdzone przez GitHub
rodzic 35e86a1dc1
commit d572232084
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
6 zmienionych plików z 26 dodań i 12 usunięć

Wyświetl plik

@ -1,6 +1,13 @@
Release History
---------------
0.1.3 (2019-10-13)
~~~~~~~~~~~~~~~~~~
* Fix for Adams method
* Fix for Webster method
* Fix _version.py for conflicts
0.1.2 (2019-07-11)
~~~~~~~~~~~~~~~~~~

Wyświetl plik

@ -26,7 +26,7 @@ methods.
Installation
------------
The ``voting`` package works in Python 2.7, 3.4, 3.5, 3.6. It is available on
The ``voting`` package works in Python 2.7, 3.5, 3.6 and 3.7. It is available on
pypi and can be installed using pip.
.. code-block:: shell

7
deploy.sh 100644
Wyświetl plik

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
export VERSION=$(poetry run python -c "import voting; print(voting.__version__)")
poetry build
poetry run twine upload dist/voting-${VERSION}*
git tag -a ${VERSION} -m "${VERSION}"
git push --tags

Wyświetl plik

@ -22,7 +22,7 @@ exclude = '''
[tool.poetry]
name = "voting"
version = "0.1.2"
version = "0.1.3"
description = "Voting and election related functions."
authors = ["Christopher Flynn <crf204@gmail.com>"]
readme = "README.rst"

Wyświetl plik

@ -1,13 +1,13 @@
"""Module level accessible objects."""
from voting.__version__ import __version__
from voting.__version__ import __description__
from voting.__version__ import __url__
from voting.__version__ import __title__
from voting.__version__ import __author__
from voting.__version__ import __author_email__
from voting.__version__ import __license__
from voting.__version__ import __copyright__
from voting.__version__ import __docs_copyright__
from voting._version import __version__
from voting._version import __description__
from voting._version import __url__
from voting._version import __title__
from voting._version import __author__
from voting._version import __author_email__
from voting._version import __license__
from voting._version import __copyright__
from voting._version import __docs_copyright__
__all__ = (
__version__,

Wyświetl plik

@ -2,7 +2,7 @@
__title__ = "voting"
__description__ = "Voting and election related functions."
__url__ = "https://github.com/crflynn/voting"
__version__ = "0.1.2"
__version__ = "0.1.3"
__author__ = "Christopher Flynn"
__author_email__ = "crf204@gmail.com"
__license__ = "MIT"