Skip to content

Commit

Permalink
Merge pull request #56 from singularityhub/fix/cli-bug
Browse files Browse the repository at this point in the history
fixing client bug, cli --> client
  • Loading branch information
vsoch authored Sep 7, 2018
2 parents db78211 + bf746be commit f285629
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The client here will eventually be released as "spython" (and eventually to
singularity on pypi), and the versions here will coincide with these releases.

## [master](https://github.com/singularityhub/singularity-cli/tree/master)
- fixing bug in shell.py, cli should be client (0.0.40)
- remove uri function should only right strip to support relative paths (0.0.39)
- adjusting container build to use correct Github branch (vault/release-2.5)
- adding support and documentation for container instances (0.0.38)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Singularity Python

Singularity Python is the Python API for working with <a href="https://singularityware.github.io" target="_blank">Singularity</a> containers. See
Singularity Python (spython) is the Python API for working with <a href="https://singularityware.github.io" target="_blank">Singularity</a> containers. See
the [documentation](https://singularityhub.github.io/singularity-cli) for installation and usage.

We provide a [Singularity](Singularity) recipe for you to use if more convenient, along with the [full modules docstring](https://singularityhub.github.io/singularity-cli/api/source/spython.main.base.html#module-spython.main.base). This formatting will improve.
We provide a [Singularity](Singularity) recipe for you to use if more convenient, along with the [full modules docstring](https://singularityhub.github.io/singularity-cli/api/source/spython.main.base.html#module-spython.main.base).

## License

This code is licensed under the Affero GPL, version 3.0 or later [LICENSE](LICENSE).

## Help and Contribution
Expand Down
4 changes: 2 additions & 2 deletions spython/client/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def bpython(image):
client.DockerRecipe = DockerRecipe
client.SingularityRecipe = SingularityRecipe

bpython.embed(locals_={'client': cli})
bpython.embed(locals_={'client': client})

def python(image):
import code
Expand All @@ -87,4 +87,4 @@ def python(image):
client.DockerRecipe = DockerRecipe
client.SingularityRecipe = SingularityRecipe

code.interact(local={"client":cli})
code.interact(local={"client":client})
2 changes: 1 addition & 1 deletion spython/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@



__version__ = "0.0.39"
__version__ = "0.0.40"
AUTHOR = 'Vanessa Sochat'
AUTHOR_EMAIL = '[email protected]'
NAME = 'spython'
Expand Down

0 comments on commit f285629

Please sign in to comment.