mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-05-22 09:04:10 +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:
|
||||
push:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: Build, Test, and Upload Python Package
|
||||
name: Build, Test, and Upload Python Package (sdist and manylinux)
|
||||
|
||||
on:
|
||||
push:
|
15
README.md
15
README.md
|
@ -27,6 +27,19 @@ python3 -m venv venv
|
|||
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:
|
||||
|
||||
```bash
|
||||
|
@ -51,7 +64,7 @@ import limedriver
|
|||
Npulses = 1000
|
||||
|
||||
# Create a new PyLimeConfig object
|
||||
config = limedriver.PyLimeConfig(Npulses)
|
||||
config = limedriver.binding.PyLimeConfig(Npulses)
|
||||
|
||||
# Modify the config as needed
|
||||
config.srate = 1e6
|
||||
|
|
Loading…
Reference in a new issue