Skip to content

Commit

Permalink
Attempt fixing description text in PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaslinnap committed Jul 5, 2018
1 parent 05b79cc commit fc816c9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ class TextExample(models.Model):

## Version History

### 0.5.0 (latest)
### 0.5.1 (latest)
* Fix README formatting in PyPI.

### 0.5.0
* Add support for Q-object based where-expressions.
* Deprecate support for text-based where-expressions. These will be removed in version 0.6.0.
* Add ValidatePartialUniqueMixin for model classes. This adds partial unique index validation for ModelForms, avoiding an IntegrityError and instead showing an error message as with usual unique_together constraints.
Expand Down
1 change: 0 additions & 1 deletion making-a-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
1. Update version number in `setup.py`
1. Update download link version number in `setup.py`
1. If added or removed support for some Python/Django versions, update classifiers in `setup.py`
1. Update PyPI version badge number in `README.md`
1. Update version history at the end of `README.md`
1. Push to release branch on github, review that tests pass on Travis.
1. `python3 setup.py sdist bdist_wheel upload`
Expand Down
2 changes: 1 addition & 1 deletion partial_index/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Provide a nicer error message than failing to import models.Index.

VERSION = (0, 5, 0)
VERSION = (0, 5, 1)
__version__ = '.'.join(str(v) for v in VERSION)


Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
setup(
name='django-partial-index',
packages=['partial_index'],
version='0.5.0',
version='0.5.1',
description='PostgreSQL and SQLite partial indexes for Django models',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Mattias Linnap',
author_email='[email protected]',
url='https://github.com/mattiaslinnap/django-partial-index',
download_url='https://github.com/mattiaslinnap/django-partial-index/archive/0.5.0.tar.gz',
download_url='https://github.com/mattiaslinnap/django-partial-index/archive/0.5.1.tar.gz',
license='BSD',
install_requires=[],
classifiers=[
Expand Down

0 comments on commit fc816c9

Please sign in to comment.