Skip to content

Commit 4279fa1

Browse files
authored
Attempt to add the readme to the pypi page
1 parent 63d90c7 commit 4279fa1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
from os import path
66
import os
77

8+
# read the contents of our README file
9+
this_directory = path.abspath(path.dirname(__file__))
10+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
11+
long_description = f.read()
12+
13+
814
version_path = os.path.join('pyganja', '_version.py')
915
exec(open(version_path).read())
1016

@@ -36,4 +42,6 @@ def run(self):
3642
install_requires = [
3743
'IPython'
3844
],
45+
long_description=long_description,
46+
long_description_content_type='text/markdown'
3947
)

0 commit comments

Comments
 (0)