1
1
from setuptools import setup , find_packages
2
+ import sys
2
3
import os
3
4
5
+
6
+ extra = {}
7
+ if sys .version_info >= (3 ,):
8
+ extra ['use_2to3' ] = True
9
+ extra ['convert_2to3_doctests' ] = ['src/your/module/README.txt' ]
10
+ extra ['use_2to3_fixers' ] = ['your.fixers' ]
11
+
4
12
# Utility function to read the README file.
5
13
# Used for the long_description. It's nice, because now 1) we have a top level
6
14
# README file and 2) it's easier to type in the README file than to put a raw
@@ -10,7 +18,7 @@ def read(fname):
10
18
11
19
setup (
12
20
name = 'django-cities-light' ,
13
- version = '2.0.9 ' ,
21
+ version = '2.1.0 ' ,
14
22
description = 'Simple alternative to django-cities' ,
15
23
author = 'James Pic' ,
16
24
@@ -35,8 +43,10 @@ def read(fname):
35
43
'Operating System :: OS Independent' ,
36
44
'Programming Language :: Python' ,
37
45
'Programming Language :: Python :: 2' ,
46
+ 'Programming Language :: Python :: 3' ,
38
47
'Topic :: Internet :: WWW/HTTP' ,
39
48
'Topic :: Software Development :: Libraries :: Python Modules' ,
40
- ]
49
+ ],
50
+ ** extra
41
51
)
42
52
0 commit comments