diff options
author | Spencer McIntyre <zeroSteiner@gmail.com> | 2018-05-23 22:27:14 -0400 |
---|---|---|
committer | Spencer McIntyre <zeroSteiner@gmail.com> | 2018-05-23 22:27:14 -0400 |
commit | d3d37e8bf2f5caf7d325ffaae634d4e9e2dcd78a (patch) | |
tree | 386ee0431087a393a53a8758aa93d8b49f420280 /setup.py | |
parent | f7e0b7d17538a10b1348f392380c565631921497 (diff) | |
download | pluginbase-d3d37e8bf2f5caf7d325ffaae634d4e9e2dcd78a.tar.gz |
Update setup.py and convert README to markdown
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,8 +1,17 @@ -try: - from setuptools import setup -except ImportError: - from distutils.core import setup +import os +import sys +base_directory = os.path.dirname(__file__) + +from setuptools import setup + +DESCRIPTION = """ +PluginBase is a module for Python that enables the development of flexible \ +plugin systems in Python.\ +""" + +with(os.path.join(base_directory, 'README.md'), 'r') as file_h: + long_description = file_h.read() setup( name='pluginbase', @@ -11,6 +20,9 @@ setup( maintainer='Spencer McIntyre', maintainer_email='zeroSteiner@gmail.com', version='0.7-dev', + description=DESCRIPTION, + long_description=long_description, + long_description_content_type='text/markdown', url='http://github.com/mitsuhiko/pluginbase', py_modules=['pluginbase'], description='A support library for building plugins sytems in Python.', |