Skip to content

Commit

Permalink
fixing make wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Garcia Ordonez committed Jan 14, 2025
1 parent a1114ca commit 27d44de
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,13 @@ clean:
.PHONY: pyenv
pyenv: clean
@python -m venv $(VENV_DIR)
@. ./$(VENV_DIR)/bin/activate && pip install .
@. ./$(VENV_DIR)/bin/activate && pip install wheel && pip install .

.PHONY: test_make_wheel
test_make_wheel: pyenv
@pip install wheel
@python setup.py bdist_wheel

# .PHONY: test_mmux_utils_install
# test_mmux_utils_install: pyenv
# @python -m pip show mmux_utils
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
long_description=long_description,
author="Javier Garcia Ordonez",
author_email="[email protected]",
packages=find_packages(),
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires="==3.10.12",
install_requires=[
"numpy",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,41 @@ def run_dakota(dakota_conf_path: Path, batch_mode: bool = True):
study.execute()
## TODO access documentation of dakenv.study -- cannot, also cannot find in https://github.com/snl-dakota/dakota/tree/devel/packages
# would need to ask Werner
"""
Help on class study in module dakota.environment.environment:
class study(pybind11_builtins.pybind11_object)
| Method resolution order:
| study
| pybind11_builtins.pybind11_object
| builtins.object
|
| Methods defined here:
|
| __init__(...)
| __init__(*args, **kwargs)
| Overloaded function.
|
| 1. __init__(self: dakota.environment.environment.study, callback: object, input_string: str, read_restart: str = '') -> None
|
| 2. __init__(self: dakota.environment.environment.study, callbacks: dict, input_string: str, read_restart: str = '') -> None
|
| execute(...)
| execute(self: dakota.environment.environment.study) -> None
|
| response_results(...)
| response_results(self: dakota.environment.environment.study) -> dakota.environment.environment.Response
|
| variables_results(...)
| variables_results(self: dakota.environment.environment.study) -> dakota.environment.environment.Variables
|
| ----------------------------------------------------------------------
| Static methods inherited from pybind11_builtins.pybind11_object:
|
| __new__(*args, **kwargs) from pybind11_builtins.pybind11_type
| Create and return a new object. See help(type) for accurate signature.
"""


if __name__ == "__main__":
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 27d44de

Please sign in to comment.