Updates to 0.4.1, pkgmeta included directly in setup.

This commit is contained in:
Steven Skoczen
2017-11-28 12:07:31 +13:00
parent 0abe0a29e8
commit b132a6f5b3
2 changed files with 5 additions and 12 deletions

View File

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

View File

@@ -7,10 +7,11 @@ from setuptools.command.test import test as TestCommand, Command
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
pkgmeta = {}
exec(open(os.path.join(os.path.dirname(__file__), 'markdownify', 'pkgmeta.py')).read(),
pkgmeta)
pkgmeta = {
'__title__': 'markdownify',
'__author__': 'Matthew Tretter',
'__version__': '0.4.1',
}
class PyTest(TestCommand):