mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
fix setup for python 3
This commit is contained in:
parent
b371cc6518
commit
59c65c56ab
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
|
@ -5,7 +5,9 @@ from setuptools import setup, find_packages
|
|||
|
||||
|
||||
def read(*parts):
|
||||
return codecs.open(os.path.join(os.path.dirname(__file__), *parts)).read()
|
||||
filename = os.path.join(os.path.dirname(__file__), *parts)
|
||||
with codecs.open(filename, encoding='utf-8') as fp:
|
||||
return fp.read()
|
||||
|
||||
|
||||
def find_version(*file_paths):
|
||||
|
|
|
|||
Loading…
Reference in a new issue