You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the CMake build command is run, the compiled library will be automatically
73
-
be copied into place where needed to build the Python package (alongside `__init__.py`).
68
+
Download the shared library (`.dll`, `.so`, or `.dylib`) from a
69
+
[GitHub Release](https://github.com/NTIA/p2108/releases). Then place the
70
+
downloaded file in `src/ITS/ITU/PSeries/P2108/` (alongside `__init__.py`).
74
71
75
-
1. Install the local package, and development dependencies:
72
+
1. Install the local package and development dependencies:
76
73
77
74
```cmd
78
75
cd wrap/python
79
76
pip install .[dev]
80
77
```
81
78
82
-
This will install the Python package itself along with development dependencies
83
-
for pre-commit hooks, building distributable packages, and running unit tests.
79
+
1. To build the wheel for your platform:
80
+
81
+
```cmd
82
+
hatchling build
83
+
```
84
84
85
85
### Running Tests ###
86
86
@@ -91,23 +91,16 @@ the location of the test data files in `tests/test_p2108.py` (using the `TEST_DA
91
91
variable). Then, run the tests with pytest:
92
92
93
93
```cmd
94
-
pytest .
94
+
pytest
95
95
```
96
96
97
97
Additionally, the [Study Group Clutter Excel Workbook](https://www.itu.int/en/ITU-R/study-groups/rsg3/ionotropospheric/Clutter%20and%20BEL%20workbook_V2.xlsx)
98
98
contains an extensive set of example values which are useful as validation cases.
99
99
100
-
## License ##
101
-
102
-
See [LICENSE](LICENSE.md).
103
-
104
-
"Python" and the Python logos are trademarks or registered trademarks of the Python
105
-
Software Foundation, used by the National Telecommunications and Information Administration
0 commit comments