Skip to content

Commit

Permalink
Adding README.md as pypi long_description
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermef committed Dec 28, 2020
1 parent b5a38b9 commit b36db2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@


from setuptools import setup, find_packages
from os import path

from tornado_eventsource import __version__

tests_require = [
Expand All @@ -11,11 +13,17 @@
'mock'
]


this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='tornado_eventsource',
version=__version__,
description="EventSource handler for tornado",
long_description="A simple EventSource handler for tornado",
long_description=long_description,
long_description_content_type='text/markdown',
keywords='tornado EventSource event source',
author='Guilherme Souza',
author_email='guivideojob@gmail.com',
Expand Down
2 changes: 1 addition & 1 deletion tornado_eventsource/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

__version__ = '3.0.0rc1'
__version__ = '3.0.0'

0 comments on commit b36db2f

Please sign in to comment.