Skip to content

Commit be0aa38

Browse files
committed
updated version
1 parent 43ec210 commit be0aa38

File tree

7 files changed

+18
-8
lines changed

7 files changed

+18
-8
lines changed

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ include python_bladerf/pybladerf_tools/pybladerf_transfer.pyi
22
include python_bladerf/pybladerf_tools/pybladerf_transfer.pyx
33
include python_bladerf/pybladerf_tools/pybladerf_sweep.pyi
44
include python_bladerf/pybladerf_tools/pybladerf_sweep.pyx
5+
include python_bladerf/pybladerf_tools/pybladerf_scan.pyi
6+
include python_bladerf/pybladerf_tools/pybladerf_scan.pyx
57
include python_bladerf/pylibbladerf/bladerf_stream.h
68
include python_bladerf/pylibbladerf/pybladerf.pyi
79
include python_bladerf/pylibbladerf/pybladerf.pyx
810
include python_bladerf/pylibbladerf/pybladerf.pxd
911
include python_bladerf/pylibbladerf/cbladerf.pxd
10-
include python_bladerf/pylibbladerf/ctime.pxd
1112
include pyproject.toml
1213
include README.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ await_time is the delay time between different frequencies in milliseconds
2626

2727
## Requirements:
2828
* Numpy>=2.2.1
29-
* Cython>=3.1.0,<3.2
29+
* Cython>=3.1.0,<3.2.1
3030
* Scipy (optional, for faster work)
3131
* pyFFTW (optional, for faster work)
3232
* pyjnius and android (only for android)

android/python_bladerf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class PythonBladerfRecipe(PyProjectRecipe):
1515
hostpython_prerequisites = ['Cython>=3.1.0,<3.2']
1616
site_packages_name = 'python_bladerf'
1717
name = 'python_bladerf'
18-
version = '1.4.0'
18+
version = '1.5.0'
1919

2020
def get_recipe_env(self, arch: Arch, **kwargs: Any) -> dict[str, Any]:
2121
env: dict[str, Any] = super().get_recipe_env(arch, **kwargs)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "python_bladerf"
3-
version = "1.4.0"
3+
version = "1.5.0"
44
authors = [
55
{name="Leonid Gvozdev", email="[email protected]"},
66
]
@@ -26,7 +26,7 @@ dependencies = [
2626

2727
[build-system]
2828
requires = [
29-
"Cython>=3.1.0,<3.2",
29+
"Cython>=3.1.0,<3.2.1",
3030
"setuptools",
3131
"wheel",
3232
"numpy"

python_bladerf/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
__version__ = '1.4.0'
1+
__version__ = '1.5.0'
22

33
from python_bladerf.pylibbladerf import pybladerf # noqa F401
44
from python_bladerf.pybladerf_tools import ( # noqa F401
55
pybladerf_transfer,
66
pybladerf_sweep,
7+
pybladerf_scan,
78
pybladerf_info,
89
utils,
910
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from . import pybladerf_transfer # noqa F401
22
from . import pybladerf_sweep # noqa F401
3+
from . import pybladerf_scan # noqa F401
34
from . import pybladerf_info # noqa F401
45
from . import utils # noqa F401

setup.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from setuptools.command.build_ext import build_ext
99
from Cython.Build import cythonize
1010

11-
INSTALL_REQUIRES = ['Cython>=3.1.0,<3.2', 'numpy']
12-
SETUP_REQUIRES = ['Cython>=3.1.0,<3.2', 'numpy']
11+
INSTALL_REQUIRES = ['Cython>=3.1.0,<3.2.1', 'numpy']
12+
SETUP_REQUIRES = ['Cython>=3.1.0,<3.2.1', 'numpy']
1313
libbladerf_h_paths = []
1414

1515
PLATFORM = sys.platform
@@ -113,6 +113,13 @@ def run(self) -> None: # type: ignore
113113
extra_compile_args=['-w'],
114114
language='c++',
115115
),
116+
Extension( # type: ignore
117+
name='python_bladerf.pybladerf_tools.pybladerf_scan',
118+
sources=['python_bladerf/pybladerf_tools/pybladerf_scan.pyx'],
119+
include_dirs=['python_bladerf/pylibbladerf', 'python_bladerf/pybladerf_tools', *libbladerf_h_paths, numpy.get_include()],
120+
extra_compile_args=['-w'],
121+
language='c++',
122+
),
116123
Extension( # type: ignore
117124
name='python_bladerf.pybladerf_tools.pybladerf_transfer',
118125
sources=['python_bladerf/pybladerf_tools/pybladerf_transfer.pyx'],

0 commit comments

Comments
 (0)