Skip to content

Commit d4a44bb

Browse files
Pypicosdk nightly (#7)
* Added 6000a FFT example * added ps6000a stop * Fixed autotrigger for 6000A devices * Close_unit returned none * Added conversions to docs * Added timebase conversions * Added timebased enums * Added hatch target to project.toml * Upversioned to 0.2.23 * Fixed pip instructions * Upversioned to 0.2.24 * Updated build_whl.bat
1 parent 722e22c commit d4a44bb

File tree

7 files changed

+14
-18
lines changed

7 files changed

+14
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Welcome to pyPicoSDK Documentation
22
## Installation
33
### Via Pip
4-
1. Install the package via pip `pip install -i https://test.pypi.org/simple/ pypicosdk`
4+
1. Install the package via pip `pip install pypicosdk`
55
2. In your `main.py` add `import pypicosdk` or `import pypicosdk as psdk`
66

77
### Via GitHub (Inc examples)
@@ -33,6 +33,6 @@ Once tested, try an [example script from github](https://github.com/JamesPicoTec
3333
- [PicoScope Support (Compatibility)](https://jamespicotech.github.io/pyPicoSDK/dev/current)
3434

3535
## Version Control
36-
pyPicoSDK: 0.2.23
36+
pyPicoSDK: 0.2.24
3737

3838
Docs: 0.1.4

build-tools/build_whl.bat

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
@echo off
2-
cd build-tools
32
echo updating versions from version_main.py
4-
python version_updater.py
5-
cd ..
3+
python build-tools\version_updater.py
64
rmdir /s /q dist
7-
rmdir /s /q build
8-
rmdir /s /q pypicosdk.egg-info
9-
echo copying contents of index.md to README.md
10-
python -c "import shutil; shutil.copyfile('./docs/docs/index.md', './README.md')"
11-
cibuildwheel --output-dir dist
12-
echo twine upload --repository testpypi dist/*
13-
cd ..
5+
python -m build --wheel
6+
twine upload dist/*

docs/docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Welcome to pyPicoSDK Documentation
22
## Installation
33
### Via Pip
4-
1. Install the package via pip `pip install -i https://test.pypi.org/simple/ pypicosdk`
4+
1. Install the package via pip `pip install pypicosdk`
55
2. In your `main.py` add `import pypicosdk` or `import pypicosdk as psdk`
66

77
### Via GitHub (Inc examples)
@@ -33,6 +33,6 @@ Once tested, try an [example script from github](https://github.com/JamesPicoTec
3333
- [PicoScope Support (Compatibility)](https://jamespicotech.github.io/pyPicoSDK/dev/current)
3434

3535
## Version Control
36-
pyPicoSDK: 0.2.23
36+
pyPicoSDK: 0.2.24
3737

3838
Docs: 0.1.4

pypicosdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.2.23"
1+
VERSION = "0.2.24"

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "pypicosdk"
7-
version = "0.2.23"
7+
version = "0.2.24"
88
description = "Modern Python wrapper for PicoSDK"
99
readme = "README.md"
1010
requires-python = ">=3.9"
@@ -34,3 +34,6 @@ testpaths = ["tests"]
3434

3535
[tool.hatch.build.targets.wheel]
3636
packages = ["pypicosdk"]
37+
38+
[tool.hatch.build.targets.wheel]
39+
packages = ["pypicosdk"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def package_files(directory):
1414

1515
setup(
1616
name="pypicosdk",
17-
version="0.2.23",
17+
version="0.2.24",
1818
packages=find_packages(),
1919
include_package_data=True,
2020
has_ext_modules=lambda : True,

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Master version file for all scripts.
22
# Update these variables and run a build-tool (which will run version_updater.py)
33
docs_version = "0.1.4"
4-
package_version = "0.2.23"
4+
package_version = "0.2.24"

0 commit comments

Comments
 (0)