aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAlexis M <alexis@notmyidea.org>2019-09-08 19:49:32 +0200
committerAlexis M <alexis@notmyidea.org>2019-09-08 19:49:32 +0200
commit564a5ca1fd783fe7356a557ef201264639d3e0fd (patch)
tree040e6738edb18acfd9eb51c7452b462313d405d6 /setup.py
parentf4231ed37cac3f514451cb1b0283574c0d2200f8 (diff)
downloadihatemoney-mirror-564a5ca1fd783fe7356a557ef201264639d3e0fd.zip
ihatemoney-mirror-564a5ca1fd783fe7356a557ef201264639d3e0fd.tar.gz
ihatemoney-mirror-564a5ca1fd783fe7356a557ef201264639d3e0fd.tar.bz2
Preparing release 4.1
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index fd2e21c..47f63b6 100644
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
-import codecs
import os
from setuptools import setup, find_packages
@@ -8,9 +7,8 @@ here = os.path.abspath(os.path.dirname(__file__))
def read_file(filename):
"""Open a related file and return its content."""
- with codecs.open(os.path.join(here, filename), encoding='utf-8') as f:
- content = f.read()
- return content
+ with open(os.path.join(here, filename), "r") as f:
+ return f.read()
def parse_requirements(filename):
@@ -35,7 +33,7 @@ ENTRY_POINTS = {
setup(name='ihatemoney',
version='4.1',
description='A simple shared budget manager web application.',
- long_description=README.encode('utf-8'),
+ long_description=README,
license='Custom BSD Beerware',
classifiers=[
"Programming Language :: Python",