-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpavement.py
More file actions
executable file
·63 lines (56 loc) · 2.71 KB
/
pavement.py
File metadata and controls
executable file
·63 lines (56 loc) · 2.71 KB
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
from __future__ import absolute_import
from collections import OrderedDict
import sys
from importlib import import_module
from paver.setuputils import install_distutils_tasks
from paver.easy import options
sys.path.insert(0, '.')
from base_node_rpc.pavement_base import *
import versioneer
install_distutils_tasks()
DEFAULT_ARDUINO_BOARDS = ['uno', 'mega2560']
PROJECT_PREFIX = 'base_node_rpc'
rpc_module = import_module(PROJECT_PREFIX)
VERSION = versioneer.get_version()
URL='http://github.com/wheeler-microfluidics/%s.git' % PROJECT_PREFIX
package_name = PROJECT_PREFIX.replace('_', '-')
PROPERTIES = OrderedDict([('package_name', package_name),
('display_name', package_name),
('base_node_software_version', VERSION),
('manufacturer', 'Wheeler Lab'),
('software_version', VERSION),
('url', URL)])
LIB_PROPERTIES = PROPERTIES.copy()
LIB_PROPERTIES.update(OrderedDict([('author', 'Christian Fobel'),
('author_email', 'christian@fobel.net'),
('short_description', 'Base classes for '
'Arduino RPC node/device.'),
('version', VERSION),
('long_description',
'Provides: 1) A memory-efficient set of base classes providing an API to most '
'of the Arduino API, including EEPROM access, raw I2C '
'master-write/slave-request, etc., and 2) Support for processing RPC command '
'requests through either serial or I2C interface. Utilizes Python (host) and '
'C++ (device) code generation from the `arduino_rpc` '
'(http://github.com/wheeler-microfluidics/arduino_rpc.git) package.'),
('category', 'Communication'),
('architectures', 'avr')]))
package_name = PROJECT_PREFIX.replace('_', '-')
options(
rpc_module=rpc_module,
PROPERTIES=PROPERTIES,
LIB_PROPERTIES=LIB_PROPERTIES,
DEFAULT_ARDUINO_BOARDS=DEFAULT_ARDUINO_BOARDS,
setup=dict(name=package_name,
version=VERSION,
cmdclass=versioneer.get_cmdclass(),
description=LIB_PROPERTIES['long_description'],
author='Christian Fobel',
author_email='christian@fobel.net',
url=URL,
license='GPLv2',
install_requires=['arduino-rpc>=1.7.post19', 'path-helpers',
'protobuf>=2.6.1'],
# Install data listed in `MANIFEST.in`
include_package_data=True,
packages=[str(PROJECT_PREFIX)]))