summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-07-26 15:04:01 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-07-26 15:23:53 (GMT)
commitdf2902a97309433a16032b49470aaff2a39a53ca (patch)
treedb7de3c2dd5c9f86a773c6de4f6695fa4067c421 /setup.py
parent7b181305c6ec08e97b69c1e549e3e8545114548b (diff)
downloadeopayment-df2902a97309433a16032b49470aaff2a39a53ca.zip
eopayment-df2902a97309433a16032b49470aaff2a39a53ca.tar.gz
eopayment-df2902a97309433a16032b49470aaff2a39a53ca.tar.bz2
debian: build a python3 package (#25504)
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 5bcca4c..a556426 100755
--- a/setup.py
+++ b/setup.py
@@ -4,6 +4,7 @@
Setup script for eopayment
'''
+import io
import subprocess
import distutils
import distutils.core
@@ -83,10 +84,10 @@ setuptools.setup(
license='GPLv3 or later',
description='Common API to use all French online payment credit card '
'processing services',
- long_description=open(
+ long_description=io.open(
os.path.join(
os.path.dirname(__file__),
- 'README.txt')).read(),
+ 'README.txt'), encoding='utf-8').read(),
url='http://dev.entrouvert.org/projects/eopayment/',
author="Entr'ouvert",
author_email="info@entrouvert.com",