question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to include an executable from the dependency to my own app?

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Issue

I’m using Poetry to manage my application dependency and virtual environment.

Although the PyPI package publication can be handled seamlessly with Poetry, I’m unable to find docs on how to solve my case:

  • My app depends on a package which includes an executable.
  • In the dev environment, this executable can only be installed to cache folder via poetry install.
  • The executable has its own sub-dependencies in the cache folder, but it’s unclear to me what exactly those sub-dependencies are.

The app’s runtime needs to use this executable, but I’m not sure how to extract this executable and all its own dependency and ship with my app.

Is there a poetry command or pattern for this scenario?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kastephcommented, Jan 20, 2021

@kakyoism I will close this issue for now, but if you have any more questions, please feel free to re-open it. Thanks šŸ™ŒšŸ½

1reaction
sinoroccommented, Jan 17, 2021

I would say, the end goal of poetry (at least right now, as far as I can tell) is to let you distribute your project (library, application, etc.) on PyPI. If you want to go further than that you will need additional tools on top of poetry or other tools in replacement of poetry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a standalone Swift package with Xcode
Use Swift packages to bundle executable code, for example a script, as an executable product, ... Dependency or make it a part of...
Read more >
Build and deploy executable without any dependency on ...
BUILD>Publish select a folder to publish your app, and that is pretty much everything I have done. – Naughty Ninja. Sep 6, 2015...
Read more >
Application publishing - .NET | Microsoft Learn
When publishing your app and creating an executable, you can publish the app as self-contained or framework-dependent. Publishing an app as selfĀ ...
Read more >
Using PyInstaller to Easily Distribute Python Applications
In this step-by-step tutorial, you'll learn how to use PyInstaller to turn your Python application into an executable with no dependencies or installationĀ ......
Read more >
Create an executable jar containing all application runtime ...
The application plugin should support this directly. I would like to have it keep the application Jar separate from the dependencies. I currently...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found