fix for the UTF-8 characters in the README.

This commit is contained in:
Cédric Bonhomme 2018-04-18 13:56:12 +02:00
parent 3752660742
commit a3f02db66c
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
3 changed files with 11 additions and 274 deletions

View file

@ -1,8 +1,12 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import codecs
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
packages = [
'stegano',
'stegano.red',
@ -22,9 +26,9 @@ scripts = [
requires = ['pillow', 'piexif', 'crayons']
with open('README.rst', 'r') as f:
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
readme = f.read()
with open('CHANGELOG.rst', 'r') as f:
with codecs.open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf-8') as f:
changelog = f.read()
setup(