Re: How do I install a package globally?

2023-11-10 Thread Christian Köstlin via Digitalmars-d-learn
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 w

Re: How do I install a package globally?

2023-11-10 Thread Paul Backus via Digitalmars-d-learn
On Saturday, 11 November 2023 at 01:50:54 UTC, Trevor wrote: 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? Dub currently isn't able to do this. There's been some discussion about adding a `dub instal

How do I install a package globally?

2023-11-10 Thread Trevor via Digitalmars-d-learn
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 ca