diff --git a/.gitignore b/.gitignore index 37340a0e3..e6974ba9a 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ faust/transport/_cython/*.c # coverage .coverage +coverage.xml diff --git a/README.md b/README.md index 74fe0e916..24267e90c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ # Python Stream Processing Fork +![python versions](https://img.shields.io/badge/python-37%2037%2038-blue) +![version](https://img.shields.io/badge/version-0.1.0-green) +[![codecov](https://codecov.io/gh/faust-streaming/faust/branch/master/graph/badge.svg?token=QJFBYNN0JJ)](https://codecov.io/gh/faust-streaming/faust) + ## Installation `pip install faust-streaming` diff --git a/scripts/coverage b/scripts/coverage index e6337a6fa..c996c0fda 100755 --- a/scripts/coverage +++ b/scripts/coverage @@ -8,3 +8,4 @@ fi set -x ${PREFIX}coverage report --show-missing --skip-covered --fail-under=61 +codecov --token=$CODECOV_TOKEN diff --git a/setup.py b/setup.py index e4059c282..fa79e0c99 100644 --- a/setup.py +++ b/setup.py @@ -175,15 +175,8 @@ def extras_require(): return {x: extras(x + ".txt") for x in BUNDLES} -# -*- Long Description -*- - - -if README.exists(): - long_description = README.read_text(encoding="utf-8") -else: - long_description = "See http://pypi.org/project/{}".format(NAME) - -# -*- %%% -*- +with open("README.md") as readme_file: + long_description = readme_file.read() def do_setup(**kwargs):