Skip to content

Commit 0433678

Browse files
committed
updated version
1 parent adf1c6b commit 0433678

File tree

7 files changed

+18
-7
lines changed

7 files changed

+18
-7
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ include python_hackrf/pyhackrf_tools/pyhackrf_transfer.pyi
22
include python_hackrf/pyhackrf_tools/pyhackrf_transfer.pyx
33
include python_hackrf/pyhackrf_tools/pyhackrf_sweep.pyi
44
include python_hackrf/pyhackrf_tools/pyhackrf_sweep.pyx
5+
include python_hackrf/pyhackrf_tools/pyhackrf_scan.pyi
6+
include python_hackrf/pyhackrf_tools/pyhackrf_scan.pyx
57
include python_hackrf/pylibhackrf/pyhackrf.pyi
68
include python_hackrf/pylibhackrf/pyhackrf.pyx
79
include python_hackrf/pylibhackrf/pyhackrf.pxd

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ set PYTHON_HACKRF_LIB_PATH=path_to_libhackrf.dll dir
2323

2424
## Requirements:
2525
* Numpy>=2.2.1
26-
* Cython>=3.1.0,<3.2
26+
* Cython>=3.1.0,<3.2.1
2727
* Scipy (optional, for faster work)
2828
* pyFFTW (optional, for faster work)
2929
* pyjnius and android (only for android)

android/python_hackrf/__init__.py

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

2020
def get_recipe_env(self, arch: Arch, **kwargs) -> 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_hackrf"
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_hackrf/__init__.py

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

33
from python_hackrf.pylibhackrf import pyhackrf # noqa F401
44
from python_hackrf.pyhackrf_tools import ( # noqa F401
55
pyhackrf_operacake,
66
pyhackrf_transfer,
77
pyhackrf_sweep,
8+
pyhackrf_scan,
89
pyhackrf_info,
910
utils,
1011
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from . import pyhackrf_operacake # noqa F401
22
from . import pyhackrf_transfer # noqa F401
33
from . import pyhackrf_sweep # noqa F401
4+
from . import pyhackrf_scan # noqa F401
45
from . import pyhackrf_info # noqa F401
56
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.install import install
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
libhackrf_h_paths = []
1414

1515
PLATFORM = sys.platform
@@ -114,6 +114,13 @@ def run(self) -> None: # type: ignore
114114
extra_compile_args=['-w'],
115115
language='c++',
116116
),
117+
Extension( # type: ignore
118+
name='python_hackrf.pyhackrf_tools.pyhackrf_scan',
119+
sources=['python_hackrf/pyhackrf_tools/pyhackrf_scan.pyx'],
120+
include_dirs=['python_hackrf/pylibhackrf', 'python_hackrf/pyhackrf_tools', *libhackrf_h_paths, numpy.get_include()],
121+
extra_compile_args=['-w'],
122+
language='c++',
123+
),
117124
Extension( # type: ignore
118125
name='python_hackrf.pyhackrf_tools.pyhackrf_transfer',
119126
sources=['python_hackrf/pyhackrf_tools/pyhackrf_transfer.pyx'],

0 commit comments

Comments
 (0)