-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
executable file
·64 lines (59 loc) · 1.86 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# setup.py - Setup file for the osc2mqtt project.
#
"""An OSC to MQTT bridge based on pyliblo and paho-mqtt."""
from io import open
from setuptools import setup
from parse_requirements import parse_requirements
# Add custom distribution meta-data, avoids warning when running setup
from distutils.dist import DistributionMetadata
DistributionMetadata.repository = None
classifiers = """\
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
Intended Audience :: Manufacturing
Intended Audience :: Other Audience
License :: OSI Approved :: MIT License
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: MacOS :: MacOS X
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Topic :: Communications
Topic :: Internet
Topic :: Home Automation
Topic :: Multimedia :: Sound/Audio
"""
name = 'osc2mqtt'
url = 'https://github.com/SpotlightKid/%s' % name.lower()
readme = open('README.rst', encoding='utf-8').read()
setup(
name = name,
version = '0.2b2',
description = __doc__.splitlines()[0],
long_description = "\n".join(readme.splitlines()[2:]),
keywords = 'osc mqtt iot',
classifiers = [c.strip() for c in classifiers.splitlines()
if c.strip() and not c.startswith('#')],
author = 'Christopher Arndt',
author_email = '[email protected]',
url = url,
repository = url,
download_url = url + '/releases',
license = 'MIT License',
platforms = 'POSIX, Windows, MacOS X',
packages = ['osc2mqtt'],
install_requires = parse_requirements('requirements.txt'),
entry_points = {
'console_scripts': [
'osc2mqtt = osc2mqtt.__main__:main'
]
},
zip_safe = True
)