-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,17 +8,13 @@ | |
|
||
from setuptools import setup | ||
|
||
long_description = '' | ||
try: | ||
from pypandoc import convert | ||
|
||
def read_md(f): | ||
return convert(f, 'rst') | ||
long_description = convert('README.md', 'rst') | ||
except ImportError: | ||
print("warning: pypandoc module not found, could not convert Markdown to RST") | ||
|
||
def read_md(f): | ||
return open(f, 'r', encoding='utf-8').read() | ||
|
||
|
||
def get_version(package): | ||
""" | ||
|
@@ -80,7 +76,7 @@ def get_package_data(package): | |
version=version, | ||
license='MIT', | ||
description='A simple django admin extension that shows when your periodic are going to run next', | ||
long_description=read_md('README.md'), | ||
long_description=long_description, | ||
author='Vinta Software', | ||
author_email='[email protected]', | ||
packages=get_packages('celerybeat_status'), | ||
|