-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
83 lines (73 loc) · 3.13 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
83
#!/usr/bin/env python
import os
import sys
from distutils.core import setup, Extension
import glob
from runspade import __version__
#if os.name != "posix":
# import py2exe
try:
import bdist_mpkg
except:
# This is not a mac
pass
if sys.platform == "win32":
ext = Extension("tlslite.utils.win32prng",
sources=["tlslite/utils/win32prng.c"],
libraries=["advapi32"])
exts = [ext]
else:
exts = None
if os.name == "posix":
#if sys.platform != "darwin":
setup(name='SPADE',
version=__version__,
description='Smart Python multi-Agent Development Environment',
author='Javier Palanca, Gustavo Aranda, Miguel Escriva, Natalia Criado',
author_email='[email protected]',
url='http://spade2.googlecode.com',
package_dir={'spade': 'spade'},
#packages=['spade', 'xmpp', 'xmppd', 'xmppd.modules', 'xmppd.locale', 'xmppd.socker', 'tlslite', 'tlslite.utils', 'tlslite.integration'],
packages=['spade', 'xmpp', 'xmppd', 'xmppd.modules', 'xmppd.socker', 'tlslite', 'tlslite.utils', 'tlslite.integration'],
#scripts=['spade.sh','gspade.sh','gspade.py', 'runspade.py',"tlslite/scripts/tls.py", "tlslite/scripts/tlsdb.py"],
scripts=['runspade.py'],#,"tlslite/scripts/tls.py", "tlslite/scripts/tlsdb.py"],
data_files=[
('/etc/spade',['etc/spade.xml']),
('/etc/spade',['etc/xmppd.xml']),
#('/usr/share/spade',['usr/share/spade/rma.glade']),
#('/usr/share/spade/mtp',glob.glob('usr/share/spade/mtp/*.py')),
#('/usr/share/doc/spade',['readme.txt']),
#('/usr/share/doc/spade/',['doc/api.tar.gz']),
#('/usr/share/spade/jabberd',['usr/share/spade/jabberd/jabberd','usr/share/spade/jabberd/jabber.xml']),
#('/usr/share/spade/jabberd/libs',glob.glob('usr/share/spade/jabberd/libs/*.so')),
#('/usr/share/spade/jabberd/spool',['usr/share/spade/jabberd/spool/.spool'])
]
)
else:
# GUS: What is this case? Meesa not understand :-?
setup(name='SPADE',
version=__version__,
description='Smart Python multi-Agent Development Environment',
author='Javier Palanca, Gustavo Aranda, Miguel Escriva, Natalia Criado',
author_email='[email protected]',
url='http://spade2.googlecode.com',
package_dir={'spade': 'spade'},
#packages=['spade', 'xmpp', 'xmppd', 'xmppd.filters', 'tlslite', 'tlslite.utils', 'tlslite.integration'],
packages=['spade', 'xmpp', 'xmppd', 'xmppd.modules', 'xmppd.socker', 'tlslite', 'tlslite.utils', 'tlslite.integration'],
#scripts=['spade-rma.py', 'runspade.py'],
scripts=['runspade.py'],#,"tlslite/scripts/tls.py", "tlslite/scripts/tlsdb.py"],
#console=['gspade.py', 'runspade.py','configure.py',"tlslite/scripts/tls.py", "tlslite/scripts/tlsdb.py"],
data_files=[
('etc',[]),
#('usr/share/spade',['usr/share/spade/rma.glade']),
#('.',['readme.txt']),
#('doc/private',glob.glob('doc/api/private/*')),
#('doc/public',glob.glob('doc/api/public/*')),
#('doc',['doc/api/index.html','doc/api/epydoc.css']),
#('usr/share/spade/jabberd',['usr/share/spade/jabberd/jabberd.exe']),
#('usr/share/spade/jabberd/libs',glob.glob('usr/share/spade/jabberd/libs/*.dll')),
#('usr/share/spade/jabberd/spool',[])
#('usr/share/spade/xmppd/spool',[])
],
ext_modules=exts
)