Update function to get README.md content
This commit is contained in:
7
setup.py
7
setup.py
@@ -4,8 +4,11 @@ import os
|
||||
|
||||
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 = []
|
||||
templates = []
|
||||
|
||||
Reference in New Issue
Block a user