Skip to content

Commit

Permalink
Adjustements for pypi publication & version 0.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyrusThePlant committed Aug 9, 2016
1 parent 3b097f1 commit 8a74eef
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
34 changes: 24 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,40 @@
strawpoll.py
============

|docbadge|_
..
Note that the badges will lose the target url if kept in the .svg format,
except readthedocs' one, because reasons.
.. image:: https://img.shields.io/pypi/pyversions/strawpoll.py.png
:target: pypi_

.. image:: https://img.shields.io/pypi/v/strawpoll.py.png
:target: pypi_

.. image:: https://img.shields.io/badge/license-MIT-blue.png
:target: license_

.. image:: https://readthedocs.org/projects/strawpollpy/badge/
:target: documentation_

strawpoll.py is an async wrapper for `strawpoll's API`_ written in Python.

For more info, take a look at the documentation_.

.. |docbadge| image:: https://readthedocs.org/projects/strawpollpy/badge/
.. _docbadge: documentation_

.. _strawpoll's API: https://strawpoll.zendesk.com/hc/en-us/articles/218979828-Straw-Poll-API-Information
.. _documentation: http://strawpollpy.readthedocs.io/
.. _license: https://raw.githubusercontent.com/PapyrusThePlant/strawpoll.py/master/LICENSE
.. _pypi: https://pypi.python.org/pypi/strawpoll.py/
.. _strawpoll's API: https://strawpoll.zendesk.com/hc/en-us/articles/218979828-Straw-Poll-API-Information

Requirements
Installation
============

* Python 3.4.2+
* ``aiohttp`` library
::

$ pip install strawpoll.py

Example
=======
Usage
=====

::

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
# Utility aliases

if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
os.system('python setup.py sdist bdist_wheel')
os.system('twine upload dist/*')
sys.exit()

if sys.argv[-1] == 'info':
Expand Down Expand Up @@ -49,14 +50,13 @@
keywords=about['__title__'],
zip_safe = False,
classifiers=[
'Development Status :: 1 - Planning',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
]
Expand Down
2 changes: 1 addition & 1 deletion strawpoll/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""

__title__ = 'strawpoll.py'
__version__ = '0.1.0-preview'
__version__ = '0.1.0'
__author__ = 'PapyrusThePlant'
__license__ = 'MIT'
__url__ = 'https://github.com/PapyrusThePlant/strawpoll.py'
Expand Down

0 comments on commit 8a74eef

Please sign in to comment.