Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update for pypi distribution

 * Add license
 * Add docs and classifiers to setup.py
  • Loading branch information...
commit 4e91f7c532733c4415033ee12230d3bb6f402792 1 parent aec4064
@djs authored
Showing with 46 additions and 2 deletions.
  1. +22 −0 LICENSE
  2. +24 −2 setup.py
View
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2012, Dan Savilonis
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
26 setup.py
@@ -1,3 +1,14 @@
+"""
+serialenum
+----------
+
+A cross-platform serial port enumerator utility function. Use with pyserial to
+automatically detect available serial ports on any system.
+
+For more information, see the `github page <https://github.com/djs/serialenum>`_.
+"""
+
+
from setuptools import setup, find_packages
setup(
@@ -6,8 +17,19 @@
py_modules = ['serialenum'],
author = "Dan Savilonis",
author_email = "djs@n-cube.org",
+ url = 'https://github.com/djs/serialenum',
description = "Cross-platform serial port enumeration",
- license = "PSF",
+ license = "BSD",
keywords = "serial serial-port",
- zip_safe=False
+ long_description = __doc__,
+ zip_safe=False,
+ classifiers = [
+ 'Development Status :: 4 - Beta',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: Microsoft :: Windows',
+ 'Operating System :: POSIX :: Linux',
+ 'Programming Language :: Python',
+ 'Topic :: Software Development :: Libraries :: Python Modules'
+ ]
)
Please sign in to comment.
Something went wrong with that request. Please try again.