mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-06-22 05:43:20 +00:00
Fixed filenames, updated README.
This commit is contained in:
parent
7428508be1
commit
294a95f121
|
@ -1,4 +1,4 @@
|
||||||
name: Build, Test, and Upload Python Package
|
name: Build, Test, and Upload Python Package (musllinux)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: Build, Test, and Upload Python Package
|
name: Build, Test, and Upload Python Package (sdist and manylinux)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
15
README.md
15
README.md
|
@ -27,6 +27,19 @@ python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can install the Python bindings using pip:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install lime-driver
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively you can clone the repository and install the Python bindings from source:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone <this-repo-url>
|
||||||
|
cd LimeDriverBindings
|
||||||
|
```
|
||||||
|
|
||||||
Ensure that the LimeDriver submodule is initialized:
|
Ensure that the LimeDriver submodule is initialized:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -51,7 +64,7 @@ import limedriver
|
||||||
Npulses = 1000
|
Npulses = 1000
|
||||||
|
|
||||||
# Create a new PyLimeConfig object
|
# Create a new PyLimeConfig object
|
||||||
config = limedriver.PyLimeConfig(Npulses)
|
config = limedriver.binding.PyLimeConfig(Npulses)
|
||||||
|
|
||||||
# Modify the config as needed
|
# Modify the config as needed
|
||||||
config.srate = 1e6
|
config.srate = 1e6
|
||||||
|
|
Loading…
Reference in a new issue