Update packaging support files
[python-ant.git] / setup.py
blob61346f9a7f1e98ac25a83b73840af1f4569ce652
1 # -*- coding: utf-8 -*-
2 ##############################################################################
4 # Copyright (c) 2011, Martín Raúl Villalba
6 # Permission is hereby granted, free of charge, to any person obtaining a copy
7 # of this software and associated documentation files (the "Software"), to
8 # deal in the Software without restriction, including without limitation the
9 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 # sell copies of the Software, and to permit persons to whom the Software is
11 # furnished to do so, subject to the following conditions:
13 # The above copyright notice and this permission notice shall be included in
14 # all copies or substantial portions of the Software.
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22 # IN THE SOFTWARE.
24 ##############################################################################
26 import os
28 from setuptools import setup, find_packages
31 def demos():
32 top = os.listdir('demos')
33 for topdir in top:
34 demos = os.listdir('demos/{0}'.format(topdir))
36 def read(fname):
37 return open(os.path.join(os.path.dirname(__file__), fname)).read()
39 setup(
40 name='ant',
41 version='0.1.0',
42 url='http://www.github.com/mvillalba/python-ant',
43 license='MIT',
44 description='Python implementation of the ANT, ANT+, and ANT-FS ' \
45 'protocols (http://www.thisisant.com/).',
46 author=u'Mart\u00EDn Ra\u00FAl Villalba',
47 author_email='martin@martinvillalba.com',
48 long_description=read('README.md'),
49 classifiers=[
50 "Development Status :: 2 - Pre-Alpha",
51 "Intended Audience :: Developers",
52 "License :: OSI Approved :: MIT License",
53 "Operating System :: OS Independent",
54 "Programming Language :: Python",
55 "Programming Language :: Python :: 2.6",
56 "Programming Language :: Python :: 2.7",
57 "Topic :: Communications",
58 "Topic :: Communications :: File Sharing",
59 "Topic :: Software Development :: Libraries :: Python Modules",
61 packages=find_packages('src'),
62 package_dir={'': 'src'},
63 install_requires=[
64 'distribute',
65 'pyserial == 2.5',
66 'msgpack-python == 0.1.10'