Skip to content

Commit

Permalink
pypi integration
Browse files Browse the repository at this point in the history
  • Loading branch information
aksakalli committed Jan 15, 2020
1 parent eb87a0a commit 964e08f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@ python:
- "3.8"
install: pip install tox-travis codecov
script: tox
after_success:
- codecov
after_success: codecov
deploy:
provider: pypi
user: "__token__"
password: $PYPI_TOKEN
on:
tags: true
branch: master
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE)
[![Travis (.org)](https://img.shields.io/travis/tomtom-international/openlr-python)](https://travis-ci.org/tomtom-international/openlr-python)
[![Coverage Status](https://img.shields.io/codecov/c/github/tomtom-international/openlr-python/master.svg)](https://codecov.io/github/tomtom-international/openlr-python?branch=master)
<!-- [![pip downloads](https://img.shields.io/pypi/dm/apache-airflow)](https://pypi.org/project/apache-airflow)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/apache-airflow)](https://pypi.org/project/apache-airflow)
[![PyPI](https://img.shields.io/pypi/v/apache-airflow)](https://pypi.org/project/apache-airflow) -->
[![pip downloads](https://img.shields.io/pypi/dm/openlr)](https://pypi.org/project/openlr)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/openlr)](https://pypi.org/project/openlr)
[![PyPI](https://img.shields.io/pypi/v/openlr)](https://pypi.org/project/openlr)

Zero dependency Python implementation for
[OpenLR™](https://www.openlr-association.com) XML and binary physical formats according to
Expand All @@ -14,10 +14,10 @@ and [the reference implementation](https://github.com/tomtom-international/openl

## Installation

You need a Python version >= 2.7 and git.
You need a Python version >= 2.7.

```
pip install git+https://github.com/tomtom-international/openlr-python.git
pip install openlr
python -m openlr CwGkNSK5WhtzAv9+/5kbAw==
```

Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Getting Started
===============

You need a Python version >= 2.7 and git.
You need a Python version >= 2.7.
Install the package via pip:

.. code-block:: bash
pip install git+https://github.com/tomtom-international/openlr-python.git
pip install openlr
The package comes with a simple CLI to convert base64 encoded binary data
Expand Down
4 changes: 2 additions & 2 deletions openlr/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# limitations under the License.
__title__ = "openlr"
__description__ = "OpenLR Python Implementation"
__url__ = "https://openlr.readthedocs.io"
__version__ = "1.0.0rc1"
__url__ = "https://openlr-python.readthedocs.io"
__version__ = "1.0.0rc2"
__author__ = "Can Güney Aksakalli"
__author_email__ = "[email protected]"
__license__ = "Apache 2.0"
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md

0 comments on commit 964e08f

Please sign in to comment.