Preparing release 4.1

This commit is contained in:
Alexis M 2019-09-08 19:49:32 +02:00
parent f4231ed37c
commit 564a5ca1fd
2 changed files with 4 additions and 7 deletions

View file

@ -29,5 +29,4 @@ Contributing
Do you wish to contribute to IHateMoney? Fantastic! There's a lot of very
useful help on the official `contributing
<https://ihatemoney.readthedocs.io/en/latest/contributing.html>`_ page.
<https://ihatemoney.readthedocs.io/en/latest/contributing.html>`_ page.

View file

@ -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",