[pypi] Add markdown
This commit is contained in:
parent
2a84346221
commit
73ab214654
1 changed files with 3 additions and 2 deletions
5
setup.py
5
setup.py
|
@ -2,7 +2,7 @@
|
||||||
# -*- coding: utf8 - *-
|
# -*- coding: utf8 - *-
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup, Extension
|
||||||
|
|
||||||
about = {}
|
about = {}
|
||||||
with open("bumblebee/__about__.py") as fp:
|
with open("bumblebee/__about__.py") as fp:
|
||||||
|
@ -45,7 +45,7 @@ EXTRAS_REQUIREMENTS_MAP = {
|
||||||
"yubikey": read_module("yubikey"),
|
"yubikey": read_module("yubikey"),
|
||||||
}
|
}
|
||||||
|
|
||||||
if sys.version_info[0] > 2: # LATER: README needs to be reStructuredText for pypi
|
if sys.version_info[0] > 2:
|
||||||
readme = open('README.md', encoding='utf-8').read()
|
readme = open('README.md', encoding='utf-8').read()
|
||||||
else:
|
else:
|
||||||
readme = open('README.md').read()
|
readme = open('README.md').read()
|
||||||
|
@ -65,6 +65,7 @@ setup(
|
||||||
author_email=about['__email__'],
|
author_email=about['__email__'],
|
||||||
description=about['__description__'],
|
description=about['__description__'],
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
packages=['bumblebee'],
|
packages=['bumblebee'],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=install_reqs,
|
install_requires=install_reqs,
|
||||||
|
|
Loading…
Reference in a new issue