Skip to content

Commit f2785cd

Browse files
committed
[Issue #351] ci: Improved setup.py fixed problem with the reading of the README.md
1 parent 7dd41fc commit f2785cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
from os import open
21
from setuptools import setup, find_packages
32
from koalixcrm.version import KOALIXCRM_VERSION
43

4+
with open("README.md", "r", encoding="utf-8") as readme_file:
5+
long_description = readme_file.read()
6+
57
setup(name='koalix-crm',
68
version=KOALIXCRM_VERSION,
79
description='koalixcrm is a tiny and easy to use Customer-Relationship-Management'
810
' Software (CRM) including tiny and easy to use Accounting Software',
9-
long_description=open('README.md').read(),
11+
long_description=long_description,
1012
long_description_content_type='text/markdown',
1113
url='http://github.com/scaphilo/koalixcrm',
1214
author='Aaron Riedener',

0 commit comments

Comments
 (0)