Skip to content

Commit

Permalink
Show progress bar when uploading image (#15)
Browse files Browse the repository at this point in the history
* show progress bar when uploading image

* fixup! show progress bar when uploading image

* fixup! show progress bar when uploading image

Co-authored-by: Yoshitaka Nagami <ynagami@cisco.com>
minor changes

- added .vscode to .gitignore
- Makefile updates
- replace sys.stdout.write with print
- dependency update

bumped version to 2.21.post2

updated requirements.txt
  • Loading branch information
rschmied authored and tmikuska committed Oct 21, 2021
1 parent b1e6f5b commit 4dee82c
Show file tree
Hide file tree
Showing 11 changed files with 136 additions and 226 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.envrc
.python-version
.venv
.vscode
dist/
*/__pycache__
docs/build/*
Expand Down
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

.phony: export
.phony: export docs

# https://github.com/python-poetry/poetry/issues/3160
# when resolved, we should be able to run with hashes
Expand All @@ -8,12 +8,18 @@ tests/requirements.txt: poetry.lock

clean:
rm -rf dist virl2_client.egg-info .built
find . -type f -name '*.pyc' -exec rm {} \; || true
find . -type d -name '__pycache__' -exec rmdir {} \; || true
find . -not -path ./.venv -depth -type f -name '*.pyc' -exec rm {} \; || true
find . -not -path ./.venv -depth -type d -name '__pycache__' -exec rmdir {} \; || true
cd docs && make clean

poetry:
poetry update

export: tests/requirements.txt
@echo "exported dependencies"

docs: docs/dist

docs/dist:
@pushd docs && make buildapi
@sphinx-build -b html -t internal docs/source docs/dist
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ help:
.PHONY: help Makefile clean

clean:
rm -rf build/* source/api/*
rm -rf build/* source/api/* dist

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
Expand Down
99 changes: 0 additions & 99 deletions docs/source/api/virl2_client.models.rst

This file was deleted.

42 changes: 0 additions & 42 deletions docs/source/api/virl2_client.rst

This file was deleted.

Loading

0 comments on commit 4dee82c

Please sign in to comment.