Python Extension#71
Merged
stevengj merged 38 commits intoNanoComp:masterfrom Nov 29, 2024
Merged
Conversation
This is to simplify the creation and manipulation of swig objects.
…a crash. improve memory management of the MATERIAL_TYPE
…les. Previously usr/local/include was used, which is undesirable.
…ct; get_volume() -> volume();
Add tests as well.
oskooi
reviewed
Nov 17, 2024
Collaborator
|
See #70 (comment), which I meant to post on this PR. |
…the python extension.
Create __init__.py to enable proper import of module Add display_geometric_object_info in libctlgeom.i Update README and docs
Contributor
Author
Great, thank you! I pulled your |
stevengj
reviewed
Nov 21, 2024
stevengj
reviewed
Nov 21, 2024
stevengj
reviewed
Nov 21, 2024
stevengj
reviewed
Nov 21, 2024
Import libctlgeom as a module instead of import all names from libctlgeom
stevengj
reviewed
Nov 29, 2024
| make | ||
| make install | ||
| ``` | ||
| Please follow the [instructions here](../../utils/python/README.md) to install the python extension. |
Collaborator
There was a problem hiding this comment.
this needs to be an http to github … I don't think readthedocs will let you link outside the docs directory?
Collaborator
There was a problem hiding this comment.
let's merge this and then you can do a PR to make a proper link once it is merged and appears on github.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #70
setup.pyfile for pip installation.