Skip to content

Commit f285629

Browse files
authored
Merge pull request #56 from singularityhub/fix/cli-bug
fixing client bug, cli --> client
2 parents db78211 + bf746be commit f285629

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The client here will eventually be released as "spython" (and eventually to
1717
singularity on pypi), and the versions here will coincide with these releases.
1818

1919
## [master](https://github.com/singularityhub/singularity-cli/tree/master)
20+
- fixing bug in shell.py, cli should be client (0.0.40)
2021
- remove uri function should only right strip to support relative paths (0.0.39)
2122
- adjusting container build to use correct Github branch (vault/release-2.5)
2223
- adding support and documentation for container instances (0.0.38)

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Singularity Python
22

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

6-
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.
6+
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).
77

88
## License
9+
910
This code is licensed under the Affero GPL, version 3.0 or later [LICENSE](LICENSE).
1011

1112
## Help and Contribution

spython/client/shell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def bpython(image):
7373
client.DockerRecipe = DockerRecipe
7474
client.SingularityRecipe = SingularityRecipe
7575

76-
bpython.embed(locals_={'client': cli})
76+
bpython.embed(locals_={'client': client})
7777

7878
def python(image):
7979
import code
@@ -87,4 +87,4 @@ def python(image):
8787
client.DockerRecipe = DockerRecipe
8888
client.SingularityRecipe = SingularityRecipe
8989

90-
code.interact(local={"client":cli})
90+
code.interact(local={"client":client})

spython/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020

21-
__version__ = "0.0.39"
21+
__version__ = "0.0.40"
2222
AUTHOR = 'Vanessa Sochat'
2323
AUTHOR_EMAIL = '[email protected]'
2424
NAME = 'spython'

0 commit comments

Comments
 (0)