Update function to get README.md content

This commit is contained in:
VirtuBox
2019-10-18 18:47:08 +02:00
parent da22ef2ebc
commit 0d1352eb5a

View File

@@ -4,8 +4,11 @@ import os
from setuptools import find_packages, setup from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as fh:
LONG = fh.read() # read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
LONG = f.read()
conf = [] conf = []
templates = [] templates = []