Added python 3 support

This commit is contained in:
Rafal Stozek 2012-12-03 16:07:23 +01:00
parent 7ea74e3941
commit 9e923edf11
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,8 @@ from setuptools import setup, find_packages
def read(*parts):
return codecs.open(path.join(path.dirname(__file__), *parts)).read()
file_path = path.join(path.dirname(__file__), *parts)
return codecs.open(file_path, encoding='utf-8').read()
def find_version(*file_paths):
@ -38,5 +39,7 @@ setup(
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
],
)