File tree Expand file tree Collapse file tree 4 files changed +39
-28
lines changed Expand file tree Collapse file tree 4 files changed +39
-28
lines changed 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 1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
+ import os
3
4
import sys
5
+ import codecs
4
6
from setuptools import setup , find_packages
5
7
from setuptools .command .test import test as TestCommand
6
8
7
9
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 ()
14
14
15
15
16
16
test_requires = [
@@ -50,7 +50,7 @@ def run_tests(self):
50
50
setup (
51
51
name = 'django-babel' ,
52
52
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' ) ,
54
54
version = '1.0-dev' ,
55
55
license = 'BSD' ,
56
56
author = 'Christopher Lenz' ,
You can’t perform that action at this time.
0 commit comments