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:
Peter Ruibal 2016-06-14 09:46:00 -07:00
parent 53b5bef873
commit 38d866f127
1 changed files with 10 additions and 5 deletions

15
setup.py Normal file → Executable file
View File

@ -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',