Update setup.py (#26)
Need to figure out the absolute path to the install file, then load README.md
This commit is contained in:
5
setup.py
5
setup.py
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user