Browse Source

fix #892: added readme to project's page on pypi

Rafał Pitoń 7 years ago
parent
commit
ac6950506e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      setup.py

+ 2 - 0
setup.py

@@ -8,6 +8,7 @@ from misago import __version__ as version
 
 SETUP_DIR = os.path.dirname(__file__)
 
+README = open(os.path.join(SETUP_DIR, 'README.rst')).read()
 
 with open(os.path.join(SETUP_DIR, 'requirements.txt'), "r") as f:
     REQUIREMENTS = [x.strip() for x in f.readlines()]
@@ -32,6 +33,7 @@ setup(
         "Python and ES6, powered by Django and React.js. It works out of "
         "the box and plays nicely with other projects like Django-CMS."
     ),
+    long_description=README,
     url='http://www.misago-project.org/',
     author=u'Rafał Pitoń',
     author_email='kontakt@rpiton.com',