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

Add a user Package directory to $Path #1288

Merged
merged 3 commits into from
Jan 12, 2025
Merged

Conversation

rocky
Copy link
Member

@rocky rocky commented Jan 12, 2025

  • Add a user Package directory to ensure the package directory gets created
  • Rename the "packages" directory to "Packages" to conform better with WMA.
  • Rename .local/var/mathics -> .local/var/Mathics3
  • Revise CHANGES.rst a little to note changes


HOME_DIR = osp.expanduser("~")
PATH_VAR: List[str] = [
".",
HOME_DIR,
USER_PACKAGE_DIR,
osp.join(ROOT_DIR, "data"),
osp.join(ROOT_DIR, "packages"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmatera should "packages" get renamed to "Packages" to be more conformant with WMA?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this change helps the implementation of paclets.

to conform better with WMA.

Revise a little CHANGES.rst to note change
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

and rename .local/var/mathics -> .local/var/Mathics3
@rocky rocky changed the title Add a user Package directory Add a user Package directory to $Path Jan 12, 2025
@rocky rocky merged commit cab9ea8 into master Jan 12, 2025
14 checks passed
@rocky rocky deleted the add-user-Package-directory branch January 12, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants