mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 11:16:14 +02:00
fix for the UTF-8 characters in the README.
This commit is contained in:
parent
3752660742
commit
a3f02db66c
3 changed files with 11 additions and 274 deletions
8
setup.py
8
setup.py
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue