On Monday, 29 March 2021 at 19:21:34 UTC, Marcone wrote:
On Monday, 29 March 2021 at 19:14:41 UTC, Andre Pany wrote:
On Monday, 29 March 2021 at 19:06:33 UTC, Marcone wrote:
Why can't I just use: import vibe.vibe; for import packages like Nim or Python? Why I still use DUB?

In python you also have pip.

It is possible to use vibe.d (any dub package) without dub but you have a few manual steps involved.

Kind regards
Andre

Python dont need pip for run script with imported module. Just need call python.

Same as for D. You can just use dub for downloading the packages and then use DMD with the correct import paths arguments/ switches / additional arguments. The analogy here is the setup.py where you configure your dependencies in python.

Kind regards
Andre

Reply via email to