Skip to content

Commit 1fdd9e0

Browse files
committed
Add README contents as long_description
1 parent bf81b81 commit 1fdd9e0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include LICENSE tox.ini test_goto.py
1+
include README.md LICENSE tox.ini test_goto.py

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
import os
12
from setuptools import setup
23

4+
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as file:
5+
long_description = file.read()
6+
37
setup(
48
name='goto-statement',
59
version='1.1',
610
url='https://github.com/snoack/python-goto/',
711
description='A function decorator, that rewrites the bytecode, to enable goto in Python',
12+
long_description=long_description,
13+
long_description_content_type='text/markdown',
814
py_modules=['goto'],
915
author='Sebastian Noack',
1016
author_email='sebastian.noack@gmail.com',

0 commit comments

Comments
 (0)