Skip to content

Commit

Permalink
upgrade zipapps version
Browse files Browse the repository at this point in the history
  • Loading branch information
lidong committed Jun 4, 2024
1 parent 2f14000 commit 057a4ef
Show file tree
Hide file tree
Showing 9 changed files with 602 additions and 463 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ Module Docs - https://github.com/ClericPy/morebuiltins/blob/master/doc.md
- [x] asyncio free-flying tasks(bg_task) - v0.0.3
- [x] named lock with timeout - v0.0.4
- [x] functools.FuncSchema (parse function to get the query-dict) - v0.0.4
- [x] morebuiltins.download_python [standalone python](https://github.com/indygreg/python-build-standalone/releases/latest) downloader - v0.0.4
- [ ] pip.pip_install
- [x] `python -m morebuiltins.download_python` [standalone python](https://github.com/indygreg/python-build-standalone/releases/latest) downloader - v0.0.4
- [x] `from morebuiltins.zipapps import pip_install_target;pip_install_target("./mock_dir", ["six"], force=False, sys_path=0); import six;print(six.__file__)` - v0.0.5
- [ ] changelog.md
- [ ] progress_bar
- [ ] http.server (upload)
- [ ] time reach syntax
Expand Down
3 changes: 0 additions & 3 deletions morebuiltins/download_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
from .main import download_python

__all__ = ["download_python"]
2 changes: 1 addition & 1 deletion morebuiltins/download_python/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .main import download_python


if __name__ == "__main__":
from ..zipapps.download_python import download_python
download_python()
5 changes: 3 additions & 2 deletions morebuiltins/zipapps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
from .main import create_app, __version__, ZipApp
from .main import create_app, __version__, ZipApp, pip_install_target
from .activate_zipapps import activate

__all__ = ['create_app', 'activate', '__version__', 'ZipApp']
__all__ = ["create_app", "activate", "__version__", "ZipApp", "pip_install_target"]
__doc__ = "Package your python code into one zip file, even a virtual environment."
Loading

0 comments on commit 057a4ef

Please sign in to comment.