Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to the application directory README #3236

Merged
merged 2 commits into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions M2/Macaulay2/m2/system.m2
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,20 @@ your "path", so Macaulay2's "load" and "input" commands will automatically look
there for your files.

You may obtain source code for Macaulay2 packages and install them yourself
with the function "installPackage". Behind the scenes, Macaulay2 will use the
subdirectory "encap/" to house the code for those packages in separate
subdirectories. The subdirectory "local/" will hold a single merged directory
tree for those packages, with symbolic links to the files of the packages.
with the function "installPackage". By default, these packages will be
installed to the "local/" subdirectory.

Good luck!

http://www.math.uiuc.edu/Macaulay2/
https://macaulay2.com/

Daniel R. Grayson <[email protected]>,
Michael R. Stillman <[email protected]>
Michael E. Stillman <[email protected]>
///

setUpApplicationDirectory = () -> (
dir := applicationDirectory();
makeDirectory(dir);
makeDirectory(dir|"encap/");
makeDirectory(dir|"local/");
makeDirectory(dir|"code/");
f := (n,c) -> (n = dir|n; if not fileExists n then n << c << close);
Expand Down