Skip to content

Commit

Permalink
Fix PyPI description
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Feb 27, 2015
1 parent 84077da commit c9266b1
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 29 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ duedil/secrets.py
*egg*
.coverage

venv/*
22 changes: 9 additions & 13 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
DueDil API v3
==================
DueDil API v3 |pypi| |build-status| |coverage-status| |waffle|
==============================================================

This is a Python implementation of the `DueDil v3 API`_

.. _`DueDil v3 API`: https://developer.duedil.com/


Tested with Travis

.. image:: https://travis-ci.org/founders4schools/duedilv3.svg?branch=master
.. |build-status| image:: https://travis-ci.org/founders4schools/duedilv3.svg?branch=master
:target: https://travis-ci.org/founders4schools/duedilv3
:alt: Tests

.. image:: https://coveralls.io/repos/founders4schools/duedilv3/badge.png
.. |coverage-status| image:: https://coveralls.io/repos/founders4schools/duedilv3/badge.png
:target: https://coveralls.io/r/founders4schools/duedilv3
:alt: Coverage

Open Issues:

.. image:: https://badge.waffle.io/founders4schools/duedilv3.png?label=ready&title=Ready
.. |pypi| image:: https://badge.fury.io/py/duedil.svg
:target: http://badge.fury.io/py/duedil
:alt: PyPi Status
.. |waffle| image:: https://badge.waffle.io/founders4schools/duedilv3.png?label=ready&title=Ready
:target: https://waffle.io/founders4schools/duedilv3
:alt: 'Stories in Ready'
.. _DueDil v3 API: https://developer.duedil.com/
14 changes: 14 additions & 0 deletions docs/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.. :changelog:
History
=======

0.2 (2014/12/10)
----------------

- add v3 lite api

0.1 (2014/12/09)
----------------

- Initial version on PyPI - only v3pro api partially implemented
11 changes: 0 additions & 11 deletions docs/HISTORY.txt

This file was deleted.

File renamed without changes.
14 changes: 9 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
from setuptools.command.test import test as test_command


def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()


class PyTest(test_command):

def finalize_options(self):
Expand All @@ -24,11 +30,9 @@ def run_tests(self):
setup(name='duedil',
version=version,
description="Duedil API client",
long_description=(
open("README.rst").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read() + "\n" +
open(os.path.join("docs", "TODO.txt")).read()
),
long_description=(read('README.rst') + '\n\n' +
read('docs', 'HISTORY.rst') + '\n\n' +
read('docs', 'TODO.rst')),
classifiers=['Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
Expand Down

0 comments on commit c9266b1

Please sign in to comment.