forked from opensistemas-hub/osbrain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (50 loc) · 1.81 KB
/
setup.py
File metadata and controls
54 lines (50 loc) · 1.81 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
"""
Setup module.
"""
import re
import sys
from os.path import join as pjoin
from setuptools import setup
with open(pjoin('osbrain', '__init__.py')) as f:
line = next(l for l in f if l.startswith('__version__'))
version = re.match('__version__ = [\'"]([^\'"]+)[\'"]', line).group(1)
# While Python 3.4 is supported...
install_requires_compat = []
if sys.version_info < (3, 5):
install_requires_compat = ['typing']
setup(
name='osbrain',
version=version,
description='A general-purpose multi-agent-system module',
long_description='''A general-purpose multi-agent-system module written
in Python. It uses ZeroMQ for flexible and efficient communications
between agents and Pyro4 to ease configuration and deployment.''',
url='https://github.com/opensistemas-hub/osbrain',
author='Miguel Sánchez de León Peque',
author_email='msdeleon@opensistemas.com',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
],
keywords='osbrain multi-agent system',
packages=['osbrain'],
install_requires=[
'Pyro4>=4.48',
'pyzmq>=15.2.0',
'dill>=0.2.0,!=0.2.7',
'cloudpickle>=0.4.0',
] + install_requires_compat,
extras_require={
'test': ['tox'],
'docs': ['sphinx', 'numpydoc', 'sphinx_rtd_theme'],
},
)