Skip to content

Commit

Permalink
Update for pypi distribution
Browse files Browse the repository at this point in the history
 * Add license
 * Add docs and classifiers to setup.py
  • Loading branch information
djs committed Aug 19, 2012
1 parent aec4064 commit 4e91f7c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
26 changes: 24 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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(
Expand All @@ -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'
]
)

0 comments on commit 4e91f7c

Please sign in to comment.