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

Instruction regarding development on Windows #103

Merged
merged 1 commit into from
Jan 28, 2022
Merged
Show file tree
Hide file tree
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
15 changes: 15 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,21 @@ natural frequencies and mode shapes.
5781.975 Hz
6919.399 Hz

Developing on Windows
---------------------

This package is designed to be developed on Linux, and if you need to develop on Windows
you will need to install your own C++ compiler. We recommend:

1. Install Visual C++
a. See `here <https://wiki.python.org/moin/WindowsCompilers>`_ for a list of which Python versions correspond to which Visual C++ version
b. Only Python <= 3.8 appears to be supported at the moment.
2. Install the development version of pymapdl-reader to your Python environment
a. Navigate to the project's top level (the same directory as this README)
b. run ``pip install -e .``

To get the package up and running.

License and Acknowledgments
---------------------------
The ``ansys-mapdl-reader`` module is licensed under the MIT license.
1 change: 1 addition & 0 deletions tests/test_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def test_map_flag_section_data():
assert np.allclose(rst_2020r2.section_data[key],
rst_2021r1.section_data[key])


def test_overwrite(tmpdir):
tmp_path = str(tmpdir.mkdir("tmpdir"))
rst = pymapdl_reader.read_binary(copy(examples.rstfile, tmp_path))
Expand Down