Skip to content

Commit 09bc6db

Browse files
authored
🔀 Merge pull request #336 from carpentries-incubator/issue-162
Added an example of per-project dependency management tool. Fixes #162.
2 parents 5336670 + 119e67e commit 09bc6db

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

_episodes/12-virtual-environments.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ which contains a particular version of Python installation
6363
plus a number of additional external libraries.
6464

6565
Virtual environments are not just a feature of Python -
66-
most modern programming languages use them to isolate libraries for a specific project
67-
and make it easier to develop, run, test and share code with others.
68-
Even languages that don't explicitly have virtual environments have other mechanisms
69-
that promote per-project library collections.
66+
most modern programming languages use a similar mechanism to isolate libraries or dependencies
67+
for a specific project, making it easier to develop, run, test and share code with others.
68+
Some examples include Bundler for Ruby, Conan for C++, or Maven with classpath for Java.
69+
This can also be achieved with more generic package managers like Spack,
70+
which is used extensively in HPC settings to resolve complex dependencies.
7071
In this episode, we learn how to set up a virtual environment to develop our code
7172
and manage our external dependencies.
7273

0 commit comments

Comments
 (0)