Update setup.py (#26)

Need to figure out the absolute path to the install file, then load README.md
This commit is contained in:
Eric Xanderson
2024-03-05 07:21:57 -06:00
committed by GitHub
parent 8cb06da0b8
commit 8175fe3e2a

View File

@@ -1,5 +1,8 @@
import os
import setuptools
setup_path = os.path.dirname(os.path.realpath(__file__))
install_requires = [
'compoundfiles',
'compressed_rtf',
@@ -7,7 +10,7 @@ install_requires = [
'html2text',
]
with open("README.md", "r") as fh:
with open(f"{setup_path}/README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(