A => MANIFEST.in +3 -0
@@ 0,0 1,3 @@
+include BSD-LICENSE
+include README.rst
+recursive-include trello_broker/templates *
M setup.py +5 -1
@@ 31,12 31,16 @@ setup(
package_dir={project_name: project_name},
packages=packages,
package_data={project_name: data_files},
- description='Django app BitBucket and Trello.',
+ description=(
+ 'Django app that integrats BitBucket POST '
+ 'hook calls and your Trello boards.'
+ ),
author='Netlandish Inc.',
author_email='geeks@netlandish.com',
license='BSD License',
url='http://bitbucket.org/netlandish/django-trello-broker/',
long_description=long_description,
+ install_requires=['Django >= 1.7.0', 'trello >= 0.9.1', 'requests'],
platforms=['any'],
classifiers=[
'Development Status :: 4 - Beta',
M trello_broker/api.py +4 -0
@@ 47,6 47,8 @@ def get_card_from_board(trello_token, bo
def add_comment_to_card(trello_token, card_id, comment):
+ ''' Leave a comment on a given card.
+ '''
client = trello_token.client
return client.cards.new_action_comment(card_id, comment)
@@ 59,5 61,7 @@ def move_card(trello_token, card_id, new
def archive_card(trello_token, card_id):
+ ''' Archive the given card.
+ '''
client = trello_token.client
return client.cards.update_closed(card_id, True)