File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ Changes
2+ =======
3+
4+ 1.0 (unreleased)
5+ ----------------
6+
7+ * Nothing changed yet.
8+
9+
10+ 0.3.1 (2013-12-11)
11+ ------------------
12+
13+ * fix relative import in template tags
14+
15+
16+ 0.3.0 (2013-12-11)
17+ ------------------
18+
19+ * Rename package to django_babel
20+
21+
22+ 0.2.3 (2013-12-11)
23+ ------------------
24+
25+ * Rename package on PyPI
26+ * Use GitHub as source control
Original file line number Diff line number Diff line change 1+ include CHANGES.rst README.rst COPYGING
2+ recursive-include tests *
3+ recursive-include docs *
4+ global-exclude *.pyc
5+ global-exclode *.pyo
6+ prune docs/_build
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
3+ import os
34import sys
5+ import codecs
46from setuptools import setup , find_packages
57from setuptools .command .test import test as TestCommand
68
79
8- with open ('README.md' , 'rb' ) as fobj :
9- readme = fobj .read ()
10-
11-
12- with open ('CHANGES.md' , 'rb' ) as fobj :
13- history = fobj .read ()
10+ def read (* parts ):
11+ filename = os .path .join (os .path .dirname (__file__ ), * parts )
12+ with codecs .open (filename , encoding = 'utf-8' ) as fp :
13+ return fp .read ()
1414
1515
1616test_requires = [
@@ -50,7 +50,7 @@ def run_tests(self):
5050setup (
5151 name = 'django-babel' ,
5252 description = 'Utilities for using Babel in Django' ,
53- long_description = readme + '\n \n ' + history ,
53+ long_description = read ( 'README.rst' ) + u '\n \n ' + read ( 'CHANGES.rst' ) ,
5454 version = '1.0-dev' ,
5555 license = 'BSD' ,
5656 author = 'Christopher Lenz' ,
You can’t perform that action at this time.
0 commit comments