-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
82 lines (75 loc) · 2.62 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env python
'''setup script for SEAT and SAT
Copyright (C) 2009-2010
Yosuke Matsusaka and Isao Hara
Intelligent Systems Research Institute,
National Institute of Advanced Industrial Science and Technology (AIST),
Japan
All rights reserved.
Licensed under the Eclipse Public License -v 1.0 (EPL)
http://www.opensource.org/licenses/eclipse-1.0.txt
'''
from setuptools import setup, find_packages
from setuptools.command.build_ext import build_ext
import sys, os
from seatsat.__init__ import __version__
cmd_classes = {}
try:
from DistUtilsExtra.command import *
cmd_classes.update({"build": build_extra.build_extra,
"build_i18n" : build_i18n.build_i18n})
except ImportError:
pass
try:
import py2exe
except ImportError:
pass
if sys.platform == "win32":
# py2exe options
extra = {
"console": [
"seatsat/SEAT.py",
"seatsat/validateseatml.py",
"seatsat/seatmltographviz.py",
"seatsat/seatmltosrgs.py",
"seatsat/seateditor.py",
"seatsat/SoarRTC.py"
],
"options": {
"py2exe": {
"includes": "xml.etree.ElementTree, lxml._elementpath, BeautifulSoup, OpenRTM_aist, RTC, gzip, cairo, pango, pangocairo, atk, gobject, gio, glib, gtk, gtksourceview2",
"dll_excludes": ["USP10.dll", "NSI.dll", "MSIMG32.dll", "MSVCP90.dll", "ierutil.dll", "powrprof.dll", "msimg32.dll", "mpr.dll", "urlmon.dll", "dnsapi.dll"],
}
}
}
else:
extra = {}
setup(name='seatsat',
cmdclass=cmd_classes,
version=__version__,
description="Simple dialogue manager component for OpenRTM (part of OpenHRI softwares)",
long_description="""Simple dialogue manager component for OpenRTM (part of OpenHRI softwares).""",
classifiers=[],
keywords='',
author='Yosuke Matsusaka',
author_email='[email protected]',
url='http://openhri.net/',
license='EPL',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
package_data={'seatsat': ['*.xsd',]},
zip_safe=False,
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
[console_scripts]
seat = seatsat.SEAT:main
validateseatml = seatsat.validateseatml:main
seateditor = seatsat.seateditor:main
seatmltographviz = seatsat.seatmltographviz:main
seatmltosrgs = seatsat.seatmltosrgs:main
soarrtc = seatsat.SoarRTC:main
""",
**extra
)