1#!/usr/bin/env python 2import os 3import re 4from setuptools import setup 5 6MODULE_NAME = 'update_checker' 7 8with open(os.path.join(os.path.dirname(__file__), 'README.md')) as fp: 9 README = fp.read() 10with open('{0}.py'.format(MODULE_NAME)) as fp: 11 VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1) 12 13setup(name=MODULE_NAME, 14 author='Bryce Boe', 15 author_email='bbzbryce@gmail.com', 16 classifiers=['Intended Audience :: Developers', 17 'License :: OSI Approved :: BSD License', 18 'Operating System :: OS Independent', 19 'Programming Language :: Python', 20 'Programming Language :: Python :: 2.7', 21 'Programming Language :: Python :: 3', 22 'Programming Language :: Python :: 3.3', 23 'Programming Language :: Python :: 3.4', 24 'Programming Language :: Python :: 3.5'], 25 description='A python module that will check for package updates.', 26 install_requires=['requests>=2.3.0'], 27 license='Simplified BSD License', 28 long_description=README, 29 py_modules=[MODULE_NAME, '{0}_test'.format(MODULE_NAME)], 30 test_suite='update_checker_test', 31 url='https://github.com/bboe/update_checker', 32 version=VERSION) 33