Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Use __about__ module for package-speific metadata #32

Merged
merged 1 commit into from
Dec 11, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions kaptan/__about__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
__title__ = 'kaptan'
__package_name__ = 'kaptan'
__version__ = '0.5.8'
__description__ = 'Configuration manager'
__email__ = 'mail@emreyilmaz.me'
__url__ = 'https://github.com/emre/kaptan'
__author__ = 'Emre Yilmaz'
__license__ = 'BSD'
__copyright__ = 'Copyright 2013-2015 Emre Yilmaz'
21 changes: 13 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,26 @@
kaptan
~~~~~~

:copyright: (c) 2013 by the authors and contributors (See AUTHORS file).
:copyright: (c) 2013-2015 by the authors and contributors (See AUTHORS file).
:license: BSD, see LICENSE for more details.
"""

from setuptools import find_packages, setup

about = {}
with open("kaptan/__about__.py") as fp:
exec(fp.read(), about)


setup(
name='kaptan',
version='0.5.8',
name=about['__title__'],
version=about['__version__'],
packages=find_packages(),
url='https://github.com/emre/kaptan',
license='BSD',
author='Emre Yilmaz',
author_email='mail@emreyilmaz.me',
description='Configuration Manager',
url=about['__url__'],
license=about['__license__'],
author=about['__author__'],
author_email=about['__email__'],
description=about['__description__'],
install_requires=['PyYAML'],
entry_points=dict(
console_scripts=[
Expand Down