forked from opensistemas-hub/osbrain
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
73 lines (69 loc) · 2.22 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
"""
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='[email protected]',
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.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'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={
'dev': [
# Documentation
'doc8',
'sphinx',
'numpydoc',
'sphinx_rtd_theme',
# Lint
'black;python_version>"3.5"',
'flake8',
'flake8-bugbear',
'flake8-isort',
'flake8-print',
'flake8-quotes',
'pep8-naming',
# Test
'pytest',
'pytest-cov',
'pytest-rerunfailures',
'pytest-xdist',
]
},
)