Skip to content

Commit

Permalink
Added setup.py and MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
sect2k committed Oct 14, 2013
1 parent 5d730e4 commit d61bc77
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -2,3 +2,5 @@
.komodotools
birdy.komodoproject
*.pyc
/*.egg-info
/dist/
3 changes: 3 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,3 @@
include README.rst
include LICENSE
include requirements.txt
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -224,6 +224,6 @@ That's it, you can start using the client immediately to make API request on beh

.. code-block:: python
client = AppClient(CONSUMER_KEY, CONSUMER_SECRET, SAVED_ACCESS_KEY)
client = AppClient(CONSUMER_KEY, CONSUMER_SECRET, SAVED_ACCESS_TOKEN)
Keep in mind that OAuth2 authenticated requests are **read-only** and not all API resources are avaliable. Check `Twitter docs <https://dev.twitter.com/docs/api/1.1>`_ for more information.
1 change: 1 addition & 0 deletions birdy/twitter.py
Expand Up @@ -8,6 +8,7 @@
TWITTER_API_VERSION = '1.1'
TWITTER_BASE_API_URL = 'https://api.twitter.com'


class TwitterClientError(Exception):
pass

Expand Down
35 changes: 35 additions & 0 deletions setup.py
@@ -0,0 +1,35 @@
#!/usr/bin/env python
from setuptools import setup
import os
import sys

__author__ = 'Mitja Pagon <mitja@inueni.com>'
__version__ = '0.1'

setup(
name = 'birdy',
version = __version__,
install_requires = (
'requests==1.2.3',
'requests_oauthlib==0.3.2',
),
author = 'Mitja Pagon',
author_email = 'mitja@inueni.com',
license = open('LICENSE').read(),
url = 'https://github.com/inueni/birdy/',
keywords = 'twitter api tweet birdy search',
description = 'birdy is a super awesome Twitter API client for Python.',
long_description = open('README.rst').read(),
include_package_data = True,
packages = (
'birdy',
),
classifiers=(
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications :: Chat',
'Topic :: Internet',
)
)

0 comments on commit d61bc77

Please sign in to comment.