From 43b1602cbb1192bd1a6df4d3dda7e5fec4969af4 Mon Sep 17 00:00:00 2001 From: FoxMaSk Date: Wed, 18 Apr 2018 11:01:27 +0200 Subject: [PATCH] upd few things --- setup.py | 10 ++++++---- wallabag_api/__init__.py | 2 +- wallabag_api/wallabag.py | 4 ++-- wallabag_api/wallabag_test.py | 1 + 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index c500cfb..8ed1be9 100644 --- a/setup.py +++ b/setup.py @@ -2,19 +2,21 @@ from setuptools import setup, find_packages from wallabag_api import __version__ as version desc = 'Wallabag API to add every pages you want to your Wallabag account' +long_desc = 'Wallabag is a "read it later" service, and that Wallabag API allow you to save web pages ' \ + 'to your own account' install_requires = [ - 'aiohttp==2.2.5', + 'aiohttp', ] setup( name='wallabag_api', version=version, description=desc, + long_description=desc, author='FoxMaSk', author_email='foxmask@trigger-happy.eu', - url='https://github.com/foxmask/wallabag_api', - download_url="https://github.com/foxmask/wallabag_api/archive/" - "wallabag_api-" + version + ".zip", + url='https://github.com/push-things/wallabag_api', + download_url="https://github.com/push-things/wallabag_api/archive/wallabag_api-" + version + ".zip", packages=find_packages(), classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/wallabag_api/__init__.py b/wallabag_api/__init__.py index 39a72b4..9fe660d 100644 --- a/wallabag_api/__init__.py +++ b/wallabag_api/__init__.py @@ -1,2 +1,2 @@ -VERSION = (1, 2, 1) # PEP 386 +VERSION = (1, 2, 2) # PEP 386 __version__ = ".".join([str(x) for x in VERSION]) diff --git a/wallabag_api/wallabag.py b/wallabag_api/wallabag.py index 7a18511..593ad9a 100644 --- a/wallabag_api/wallabag.py +++ b/wallabag_api/wallabag.py @@ -33,8 +33,8 @@ class Wallabag(object): client_id='', client_secret='', extension='json', - user_agent="WallabagPython/1.3 " - "+https://github.com/foxmask/wallabag-api", + user_agent="WallabagPython/1.2.2 " + " +https://github.com/push-things/wallabag-api", aio_sess=None): """ init variable diff --git a/wallabag_api/wallabag_test.py b/wallabag_api/wallabag_test.py index 9c0d0cc..c5281d3 100644 --- a/wallabag_api/wallabag_test.py +++ b/wallabag_api/wallabag_test.py @@ -109,5 +109,6 @@ class TestWallabag(unittest.TestCase): self.assertTrue(resp, True) """ + if __name__ == '__main__': unittest.main()