upversion

This commit is contained in:
Val Neekman 2014-02-02 17:21:49 -05:00
parent d3d51c3618
commit f8a3302207
5 changed files with 28 additions and 12 deletions

View file

@ -2,12 +2,19 @@ language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
env:
- DJANGO_VERSION=1.3
- DJANGO_VERSION=1.4.10
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.6.1
- DJANGO=1.4.10
- DJANGO=1.5.5
- DJANGO=1.6.1
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors
- pip install -q Django==$DJANGO --use-mirrors
- pip install -q -r requirements.txt --use-mirrors
matrix:
exclude:
- python: "3.2"
env: DJANGO=1.4.10
- python: "3.3"
env: DJANGO=1.4.10
script: python manage.py test

View file

@ -1,3 +1,13 @@
## 1.0.1
Enhancement:
- Support Django 1.6.1
- Support for Python 3.x
Misc:
- Dropped support for Django<1.4.10
## 1.0.0
Enhancement:

View file

@ -1,3 +1,2 @@
Django>=1.5.1
Django==1.4.10
python-slugify>=0.0.4

View file

@ -61,9 +61,9 @@ def get_package_data(package):
if sys.argv[-1] == 'publish':
os.system("python setup.py sdist upload")
args = {'version': get_version(package)}
print "You probably want to also tag the version now:"
print " git tag -a %(version)s -m 'version %(version)s'" % args
print " git push --tags"
print("You probably want to also tag the version now:")
print(" git tag -a %(version)s -m 'version %(version)s'" % args)
print(" git push --tags")
sys.exit()

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
__version__ = '1.0.0'
__version__ = '1.0.1'
from django.utils.encoding import smart_unicode
from slugify import slugify as pyslugify
@ -9,7 +9,7 @@ __all__ = ['slugify', 'uuslug']
def slugify(text, entities=True, decimal=True, hexadecimal=True, max_length=0, word_boundary=False, separator='-'):
""" Make a slug from a given text """
return smart_unicode(pyslugify(text, entities, decimal, hexadecimal, max_length, word_boundary, separator))