Skip to content

Commit

Permalink
Update package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mbourqui committed Aug 25, 2017
1 parent 93fd3bc commit 8e80897
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ python:
- 3.5
- 3.6
env:
- DJANGO_VERSION=1.9.13
- DJANGO_VERSION=1.10.7
- DJANGO_VERSION=1.9
- DJANGO_VERSION=1.10
- DJANGO_VERSION=1.11.2
- DJANGO_VERSION=1.11.3
- DJANGO_VERSION=1.11.4
- DJANGO_VERSION=1.11
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
matrix:
exclude:
- env: DJANGO_VERSION=1.9.13
- env: DJANGO_VERSION=1.9
python: 3.6
- env: DJANGO_VERSION=1.10.7
- env: DJANGO_VERSION=1.10
python: 3.6
addons:
apt_packages:
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ Choices for Django model fields as enumeration

## Installation

### Using PyPI
1. Run `pip install django-echoices`

### Using the source code
1. Make sure [`pandoc`](http://pandoc.org/index.html) is installed
1. Run `./pypi_packager.sh`
1. Run `pip install dist/django_echoices-x.y.z-[...].wheel`, where `x.y.z` must be replaced by the actual
version number and `[...]` depends on your packaging configuration

## Usage

Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

from echoices import __version__

REPO_URL = "https://github.com/mbourqui/django-echoices/"

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()

Expand All @@ -21,7 +23,8 @@
license='GNU GPLv3',
description='Choices for Django model fields as enumeration',
long_description=README,
url='https://github.com/mbourqui/django-echoices',
url=REPO_URL,
download_url=REPO_URL + 'releases/tag/v' + __version__,
packages=find_packages(),
include_package_data=True,
package_data={
Expand Down

0 comments on commit 8e80897

Please sign in to comment.