Coding style cleanups in setup.py

This commit is contained in:
Wouter Bolsterlee
2013-11-06 23:12:37 +01:00
parent 0d9f9621d6
commit 914f88a231

View File

@@ -1,6 +1,7 @@
from os.path import join, dirname from os.path import join, dirname
from setuptools import find_packages, setup from setuptools import find_packages, setup
__version__ = None
execfile('happybase/_version.py') execfile('happybase/_version.py')
@@ -19,23 +20,24 @@ def get_install_requires():
return install_requires return install_requires
setup(name='happybase', setup(
version=__version__, name='happybase',
description="A developer-friendly Python library to interact " version=__version__,
"with Apache HBase", description="A developer-friendly Python library to interact with "
long_description=get_file_contents('README.rst'), "Apache HBase",
author="Wouter Bolsterlee", long_description=get_file_contents('README.rst'),
author_email="uws@xs4all.nl", author="Wouter Bolsterlee",
url='https://github.com/wbolster/happybase', author_email="uws@xs4all.nl",
install_requires=get_install_requires(), url='https://github.com/wbolster/happybase',
packages=find_packages(exclude=['tests']), install_requires=get_install_requires(),
license="MIT", packages=find_packages(exclude=['tests']),
classifiers=( license="MIT",
"Development Status :: 4 - Beta", classifiers=(
"Intended Audience :: Developers", "Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License", "Intended Audience :: Developers",
"Programming Language :: Python :: 2", "License :: OSI Approved :: MIT License",
"Topic :: Database", "Programming Language :: Python :: 2",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Database",
) "Topic :: Software Development :: Libraries :: Python Modules",
) )
)