setup.py tweaks
- Bump version to 1.0.1 - Bump release classifier from beta -> stable - Postprocess README.md with pypandoc if available for `long_description`
This commit is contained in:
parent
53b5bef873
commit
38d866f127
|
@ -1,14 +1,19 @@
|
|||
from setuptools import setup
|
||||
__VERSION__ = '1.0.1'
|
||||
|
||||
version = '1.0'
|
||||
from setuptools import setup
|
||||
try:
|
||||
import pypandoc
|
||||
long_description = pypandoc.convert('README.md', 'rst')
|
||||
except ImportError:
|
||||
long_description = None
|
||||
|
||||
setup(
|
||||
name='python-editor',
|
||||
version=version,
|
||||
version=__VERSION__,
|
||||
description="Programmatically open an editor, capture the result.",
|
||||
#long_description='',
|
||||
long_description=long_description,
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Operating System :: OS Independent',
|
||||
|
|
Loading…
Reference in New Issue