attempt to improve landscape scores. (#6)
This commit is contained in:
@ -1,4 +1,27 @@
|
||||
""" Bonobo data-processing toolkit.
|
||||
|
||||
Bonobo is a line-by-line data-processing toolkit for python 3.5+ emphasizing simplicity and atomicity of data
|
||||
transformations using a simple directed graph of python callables.
|
||||
|
||||
Read more at http://docs.bonobo-project.org/
|
||||
|
||||
Copyright 2012-2014 Romain Dorgueil
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
from .core import *
|
||||
from .io import *
|
||||
from .util import *
|
||||
@ -8,8 +31,21 @@ PY35 = (sys.version_info >= (3, 5))
|
||||
assert PY35, 'Python 3.5+ is required to use Bonobo.'
|
||||
|
||||
# Version infos
|
||||
try:
|
||||
with open('../version.txt') as f:
|
||||
__version__ = f.read().strip()
|
||||
except Exception as e:
|
||||
__version__ = 'dev'
|
||||
with open(os.path.realpath(os.path.join(os.path.dirname(__file__), '../version.txt'))) as f:
|
||||
__version__ = f.read().strip()
|
||||
|
||||
__all__ = [
|
||||
'Bag',
|
||||
'Graph',
|
||||
'NaiveStrategy',
|
||||
'NotModified',
|
||||
'ProcessPoolExecutorStrategy',
|
||||
'ThreadPoolExecutorStrategy',
|
||||
'head',
|
||||
'inject',
|
||||
'log',
|
||||
'noop',
|
||||
'service',
|
||||
'tee',
|
||||
'to_json',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user