Skip to content

Commit

Permalink
Add myself to contributors list and cleanup setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nMustaki committed Jul 18, 2015
1 parent ec9dba3 commit da57e62
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
22 changes: 11 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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/`):
Expand All @@ -71,4 +71,4 @@ Contributors
* `Adrien Lemaire <https://github.com/Fandekasp>`_
* `Kyle Valade <https://github.com/kdazzle>`_
* `Rick van Hattem <https://github.com/WoLpH>`_

* `Nathan Mustaki <https://github.com/nMustaki>`_
32 changes: 16 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[email protected]',
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='[email protected]',
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',
Expand All @@ -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

0 comments on commit da57e62

Please sign in to comment.