From c09f8e7d6ef40f2b62d85ac2dc333243fdbb3f28 Mon Sep 17 00:00:00 2001 From: Mitchel Cabuloy Date: Fri, 30 Mar 2018 19:53:59 +0800 Subject: [PATCH] Prepare release 0.4.0 * Update HISTORY.md * Switch to markdown PyPi README --- HISTORY.md | 10 ++++++++-- requirements.txt | 1 + setup.py | 12 ++---------- tox.ini | 5 ----- 4 files changed, 11 insertions(+), 17 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 95be755..f57cf99 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,11 @@ # Release History +## 0.4.0 (2018-03-30) + +**Features and Improvements** + +* Add `ModelField` and `MultipleModelField` + ## 0.3.1 (2017-12-30) **Bug fixes** @@ -16,8 +22,8 @@ **Features and Improvements** -* Add ServiceView -* Add ModelService +* Add `ServiceView` +* Add `ModelService` * Add pt_BR localization ## 0.1.0 (2017-08-13) diff --git a/requirements.txt b/requirements.txt index cebffcd..a8c6a36 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ six flake8 coverage tox +twine diff --git a/setup.py b/setup.py index 54df75f..b4915e5 100644 --- a/setup.py +++ b/setup.py @@ -4,15 +4,6 @@ import service_objects -pypi_readme = """ -django-service-objects -====================== - -Service objects for Django - -`Go to GitHub for more info `_ -""" # noqa - def read_file(filename): with open(join(dirname(abspath(__file__)), filename)) as f: @@ -29,7 +20,8 @@ def read_file(filename): include_package_data=True, license=service_objects.__license__, description=service_objects.__doc__, - long_description=pypi_readme, + long_description=read_file('README.md'), + long_description_content_type='text/markdown', url='https://github.com/mixxorz/django-service-objects', author='Mitchel Cabuloy', author_email='mixxorz@gmail.com', diff --git a/tox.ini b/tox.ini index c36953a..886d3c5 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,6 @@ envlist = py{27,34,35,36}-django111 py{34,35,36}-django20 docs - readme [testenv] deps = @@ -36,10 +35,6 @@ commands = make html deps = flake8 commands = flake8 -[testenv:readme] -deps = readme_renderer -commands = python setup.py check --restructuredtext --strict - [travis:env] DJANGO = 1.8: django18