-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It should be possible to create a Wagon file for requirement files without source #30
Comments
So, you'd expect to send a requirements file as an "argument" to wagon, it will download all wheels and put them in a single wgn. Is this right? How should the metadata reflect this from your POV? |
I don't really mind what's in the metadata. |
Note that we're working on a redo for Wagon and will try to include this feature in the new version. |
Sorry, but it seems we'll only be able to promote this with version v1.0.0 which has an unknown release date. |
I have a similar need when generating a wagon archive to include in a larger installation bundle, but came up with a workaround I'm happy with, which is to create a minimal
The minimal
This is enough to give |
After further experimentation, I discovered a problematic bug when So in my Switching the local relative to source directory to To make sure
|
This is actually by design, much like with pip, you should be able to provide just a "name", which will be looked up in PyPi, and a local path. Would you have expected something else? |
I'm also interested in app deployment and "standard development environment" type use cases, where wagon is being used to define a managed environment used for application deployment. My specific use case is setting up a shared Python env in an embedded Linux deployment where we have multiple standalone scripts that are rolled out as part of a mostly self-installing firmware update tarball rather than as a Python package. We'll also see a similar situation if folks want to create a wagon from a pipenv-managed application. The |
I have a requirements file for a bunch of packages I want to install on some servers. I want to use Wagon to easily package and install them. However, Wagon forces me to select a "source" package. I can arbitrarily select one of the packages I want to install, specify it as "soruce", and remove it from the requirement files (to avoid a duplication error), but I think it would be best if I could just use Wagon to "archive" a list of unrelated packages.
The text was updated successfully, but these errors were encountered: