Comments (3)
Hello! Are there any dependencies? If so then you would need to make an archive of a distribution with your dependencies preinstalled to achieve an offline installation.
Though back to your question there are two ways:
- I can add a new
PYAPP_EXEC_SCRIPT
option - You can turn your script into a package with an entry point, build the project, and finally embed it https://ofek.dev/pyapp/latest/config/#project-embedding
from pyapp.
There's quite av few dependencies including some non-python ones. That, plus the need to keep the code files easily editable, is why this looked like a potentially much better fit than something like pyinstaller.
For the same reason option 2 would not be a good fit. I often have to edit the code on the fly while in the offline (and otherwise restricted) environment. Option 1 would be perfect!
from pyapp.
https://github.com/ofek/pyapp/releases/tag/v0.10.0
from pyapp.
Related Issues (20)
- Cannot use `PYAPP_DISTRIBUTION_PATH` (at least with locally embedded projects) HOT 5
- Notebook execution mode HOT 3
- Incorrect exit code HOT 4
- How to add `optional-dependencies` HOT 3
- Python version support - docs and code are inconsistent
- CPython 3.7 unaccessible from `x86_64` linux
- Build failure on Windows (whl METADATA containing CRLF) HOT 1
- Offline installation with local archive file
- can this lib work with streamlit? HOT 2
- PyApp with GUI program - disable console on Windows HOT 4
- Can not just copy binary to docker and run. HOT 1
- After built with pyapp, pip install failed for hdbscan HOT 16
- Cache pyapp build on GHA
- Support for gui-scripts HOT 5
- Management command for deleting installation files HOT 9
- Missing glibc when building an app on ubuntu and running on centos HOT 1
- No network HOT 9
- feature: management command to open a shell HOT 1
- Tcl error using Tk HOT 3
- Newer PyApp releases are using a yanked version of zip, compilation fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyapp.