Skip to content

Commit cf0b371

Browse files
ticosaxblueyed
authored andcommitted
Provide long description when packaging (#87)
1 parent dfaaa93 commit cf0b371

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
@@ -2,10 +2,18 @@
22

33
from setuptools import setup, find_packages
44

5+
6+
def readfile(filename):
7+
with open(filename, 'r') as open_file:
8+
return open_file.read()
9+
10+
511
setup(
612
name='django-fsm-log',
713
version='1.7.0dev',
814
description='Logging for django-fsm',
15+
long_description=readfile('README.md'),
16+
long_description_content_type='text/markdown',
917
author='Gizmag',
1018
author_email='[email protected]',
1119
url='https://github.com/gizmag/django-fsm-log',

0 commit comments

Comments
 (0)