Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qosm-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quasi Optical System Modelling
qosm-core
Commits
f293aeab
Commit
f293aeab
authored
1 month ago
by
GAUDIN Gregory
Browse files
Options
Downloads
Patches
Plain Diff
Add README
parent
2523c48b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+40
-0
40 additions, 0 deletions
README.md
with
40 additions
and
0 deletions
README.md
0 → 100644
+
40
−
0
View file @
f293aeab
# 1. Requierements
## a) Windows
-
Mingw-w64: https://www.mingw-w64.org/
-
Python 3: https://www.python.org/downloads/release/python-3110/
## b) GNU/Linux
-
build-essential
-
Python 3
```
apt install buid-essential gcc python3
```
# 2. Compilation and Installation
To compile and install the package for a specific version of python (for example, Python 3.11), go to the project root directory and use the following commands:
## a) Windows (10 et 11)
```
py -3.11 setup.py bdist_wheel
py -3.11 -m pip install dist/qosm_core-0.1-cp311-cp311-win_amd64.whl --force-reinstall
```
## b) GNU/Linux (Tested on Ubuntu)
```
python3 setup-linux.py bdist_wheel
python3 -m pip install dist/qosm_core-0.1-cp311-cp311-linux_x86_64.whl --force-reinstall
```
# 3. Import
You can now import the module and specific components.
Here is an example:
```
from qosm_core import VirtualSource, beam_tracing, Medium, Beam, Horn, Vec3, Quaternion
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment