From 3da4eeaca2a6a5a946ce9e8680c1fd1c276c69d2 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Sat, 11 Apr 2020 20:13:44 +0100 Subject: [PATCH] Fix long description and release version 0.2 --- criclive/main.py | 4 ++-- setup.py | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/criclive/main.py b/criclive/main.py index 08bccaf..b2fcefa 100644 --- a/criclive/main.py +++ b/criclive/main.py @@ -6,7 +6,7 @@ SOURCE_URL = "https://www.espncricinfo.com/scores/" -def print_scores(scores): +def _print_scores(scores): table = [ [ f"{score['first_team']['name']} {score['first_team']['score']}", @@ -59,5 +59,5 @@ def _extract_score(score_soup): def main(): scores = get_scores() - print_scores(scores) + _print_scores(scores) diff --git a/setup.py b/setup.py index 8cab481..c00e8c0 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,13 @@ from setuptools import setup, find_packages -with open("README.md") as fh: - long_description = fh.read() +long_description = """ +Cricket Live: Get Live scores of all cricket matches in your Command Line. +""" setup( name='criclive', - version='0.1.1', + version='0.2', description='Live Cricket Scores in Command Line.', author='Amit Kumar', license='MIT',