Update package meta

This commit is contained in:
Matthew Tretter
2013-07-31 16:40:56 -04:00
parent fac7b4fb8e
commit 7f75b0bbce
3 changed files with 16 additions and 5 deletions

8
markdownify/pkgmeta.py Normal file
View File

@@ -0,0 +1,8 @@
pkgmeta = dict(
__title__='markdownify',
__author__='Matthew Tretter',
__version__='0.1.0',
)
globals().update(pkgmeta)
__all__ = pkgmeta.keys()

View File

@@ -1 +0,0 @@
__version__ = '0.1.0'

View File

@@ -5,16 +5,20 @@ from setuptools import setup, find_packages
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
execfile(os.path.join(os.path.dirname(__file__), 'markdownify', 'version.py'))
pkgmeta = {}
execfile(os.path.join(os.path.dirname(__file__), 'markdownify', 'pkgmeta.py'),
pkgmeta)
setup(
name='python-markdownify',
description='Convert HTML to markdown.',
long_description=read(os.path.join(os.path.dirname(__file__), 'README.rst')),
version=__version__,
author='Matthew Tretter',
author_email='matthew@exanimo.com',
version=pkgmeta['__version__'],
author=pkgmeta['__author__'],
author_email='m@tthewwithanm.com',
url='http://github.com/matthewwithanm/python-markdownify',
download_url='http://github.com/matthewwithanm/python-markdownify/tarball/master',
packages=find_packages(),