From da57e62be2cff901c3c9de17171e43205aa82ac2 Mon Sep 17 00:00:00 2001 From: Nathan Mustaki Date: Sun, 19 Jul 2015 01:04:16 +0200 Subject: [PATCH] Add myself to contributors list and cleanup setup.py --- README.rst | 22 +++++++++++----------- setup.py | 32 ++++++++++++++++---------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.rst b/README.rst index 396c89c3..9fa26cc2 100644 --- a/README.rst +++ b/README.rst @@ -18,10 +18,10 @@ Usage from trello import TrelloClient client = TrelloClient( - api_key='your-key', - api_secret='your-secret', - token='your-oauth-token-key', - token_secret='your-oauth-token-secret' + api_key='your-key', + api_secret='your-secret', + token='your-oauth-token-key', + token_secret='your-oauth-token-secret' ) Where `token` and `token_secret` come from the 3-legged OAuth process and @@ -32,12 +32,12 @@ Getting your Trello OAuth Token =============================== Make sure the following environment variables are set: -* `TRELLO_API_KEY` -* `TRELLO_API_SECRET` +* `TRELLO_API_KEY` +* `TRELLO_API_SECRET` These are obtained from the link mentioned above. -`TRELLO_EXPIRATION` is optional. Set it to a string such as 'never' or '1day'. +`TRELLO_EXPIRATION` is optional. Set it to a string such as 'never' or '1day'. Trello's default OAuth Token expiration is 30 days. Default permissions are read/write. @@ -56,9 +56,9 @@ Tests ===== To run the tests, run `python tests.py`. Three environment variables must be set: -* TRELLO_API_KEY: your Trello API key -* TRELLO_TOKEN: your Trello OAuth token -* TRELLO_TEST_BOARD_COUNT: the number of boards in your Trello account +* TRELLO_API_KEY: your Trello API key +* TRELLO_TOKEN: your Trello OAuth token +* TRELLO_TEST_BOARD_COUNT: the number of boards in your Trello account * TRELLO_TEST_BOARD_NAME: name of the board to test card manipulation on. Must be unique, or the first match will be used And run (from `py-trello/`): @@ -71,4 +71,4 @@ Contributors * `Adrien Lemaire `_ * `Kyle Valade `_ * `Rick van Hattem `_ - +* `Nathan Mustaki `_ diff --git a/setup.py b/setup.py index dfc0526d..6b0858b8 100755 --- a/setup.py +++ b/setup.py @@ -3,18 +3,18 @@ from setuptools import setup, find_packages setup( - name = "py-trello", - version = "0.3.1", + name="py-trello", + version="0.3.1", - description = 'Python wrapper around the Trello API', - long_description = open('README.rst').read(), - author = 'Richard Kolkovich', - author_email = 'richard@sigil.org', - url = 'https://trello.com/board/py-trello/4f145d87b2f9f15d6d027b53', - keywords = 'python', - license = 'BSD License', - classifiers = [ - "Development Status :: 4 - Beta", + description='Python wrapper around the Trello API', + long_description=open('README.rst').read(), + author='Richard Kolkovich', + author_email='richard@sigil.org', + url='https://trello.com/board/py-trello/4f145d87b2f9f15d6d027b53', + keywords='python', + license='BSD License', + classifiers=[ + "Development Status :: 4 - Beta", 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', @@ -23,9 +23,9 @@ 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', - ], - install_requires = ["requests", "requests-oauthlib >= 0.4.1", "python-dateutil"], - packages = find_packages(), - include_package_data = True, - ) + ], + install_requires=["requests", "requests-oauthlib >= 0.4.1", "python-dateutil"], + packages=find_packages(), + include_package_data=True, +) # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4