Update setup.py (#26)
Need to figure out the absolute path to the install file, then load README.md
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
|
import os
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
|
setup_path = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'compoundfiles',
|
'compoundfiles',
|
||||||
'compressed_rtf',
|
'compressed_rtf',
|
||||||
@@ -7,7 +10,7 @@ install_requires = [
|
|||||||
'html2text',
|
'html2text',
|
||||||
]
|
]
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
with open(f"{setup_path}/README.md", "r") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
|
|||||||
Reference in New Issue
Block a user