Skip to content

Commit 9a09096

Browse files
committed
use markdown for pypi readme
1 parent 46d558d commit 9a09096

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
clean:
44
rm -rf dist build *.egg-info tests/tempdir
55

6-
# Dist requires Python 3, the binary pandoc & the pip packages wheel & pypandoc
6+
# Dist requires Python 3 & the pip package wheel
77
dist:
88
python setup.py sdist bdist_wheel
99

gitsecrets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.0.4'
1+
__version__ = '0.1.0'
22

33
import os
44
import re

setup.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,13 @@
55

66
import gitsecrets
77

8-
# borrowed conversion process from
9-
# https://stackoverflow.com/questions/26737222/pypi-description-markdown-doesnt-work
10-
try:
11-
import pypandoc
12-
long_description = pypandoc.convert('README.md', 'rst')
13-
except(IOError, ImportError):
14-
long_description = open('README.md').read()
8+
long_description = open('README.md').read()
159

1610
setup(name="python-git-secrets",
1711
version=gitsecrets.__version__,
1812
description="Python implementation of git-secrets",
1913
long_description=long_description,
14+
long_description_content_type="text/markdown",
2015
url="https://github.com/mbacchi/python-git-secrets",
2116
author='Matt Bacchi',
2217
author_email='mbacchi@gmail.com',

0 commit comments

Comments
 (0)