No Description

setup.py 1.0KB

    #!/usr/bin/env python # -*- coding: utf-8 -*- """ Setup for the KISS Python Module. Source:: https://github.com/ampledata/kiss """ __title__ = 'kiss' __version__ = '3.2.0' __author__ = 'Greg Albrecht W2GMD <gba@orionlabs.io>' __copyright__ = 'Copyright 2016 Orion Labs, Inc. and Contributors' __license__ = 'Apache License, Version 2.0' import os import setuptools import sys def publish(): """Function for publishing package to pypi.""" if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() publish() setuptools.setup( name=__title__, version=__version__, description='KISS Python Module.', long_description=open('README.rst').read(), author='Greg Albrecht', author_email='gba@orionlabs.io', license=open('LICENSE').read(), url='https://github.com/ampledata/kiss', setup_requires=['coverage >= 3.7.1', 'nose >= 1.3.7'], install_requires=['pyserial >= 2.7'], package_dir={'kiss': 'kiss'}, packages=['kiss'], zip_safe=False )