file "sdk/python/arvados/index.html" do |t|
`which epydoc`
if $? == 0
- `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/`
+ STDERR.puts `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/ 2>&1`
+ raise if $? != 0
else
puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red)
end
from .api import api, api_from_config, http_cache
from .collection import CollectionReader, CollectionWriter, ResumableCollectionWriter
-from .keep import *
-from .stream import *
+from arvados.keep import *
+from arvados.stream import *
from .arvfile import StreamFileReader
from .retry import RetryLoop
-from . import errors
-from . import util
+import arvados.errors as errors
+import arvados.util as util
# Set up Arvados logging based on the user's configuration.
# All Arvados code should log under the arvados hierarchy.
from ._ranges import locators_and_ranges, Range
from .arvfile import StreamFileReader
from arvados.retry import retry_method
-from .keep import *
+from arvados.keep import *
from . import config
from . import errors
from ._normalize_stream import normalize_stream