On Saturday, 11 November 2023 at 01:50:54 UTC, Trevor wrote:
I'm just getting in to D , coming from a C and Python background. I've had a play with DUB and adding packages to my project, but it seems like there should be a way to install packages so they can be used in any D program I compile without creating a whole package. For example in Python you can just go "pip install abc" and then any script can use abc.

How does one install packages globally, and how can I write programs that use the third-party packages without being wrapped in a dub file?

And honestly it is not the best behavior. This is why in python world so popular solutions with conda/pip virtual environments.

Reply via email to