Commit Graph

101 Commits

Author SHA1 Message Date
Dr. Johannes Pohl
8a34513351 Add support for Cython3 (#1099) 2024-01-21 11:11:28 +01:00
Dr. Johannes Pohl
aa95d20b9b Blacken code (#1076) 2023-10-30 17:51:41 +01:00
Dr. Johannes Pohl
64846253dc pin to Cython version <3.0.0 (#1063) 2023-07-28 10:38:07 +02:00
Johannes Pohl
93b99c7076 remove parallelization in ExtensionHelper.py
it leads to errors on certain environments (#761)
2020-04-19 11:50:59 +02:00
jopohl
fa188f4a9e do not parallelize cython build on macOS 2020-04-04 11:38:34 +02:00
Johannes Pohl
f0c996c222 Add support for Manylinux2014 (#750) 2020-03-24 11:42:51 +01:00
Johannes Pohl
7e15029398 Overhaul GNU Radio backend (ready for gr 3.8) (#748) 2020-03-22 12:52:52 +01:00
Johannes Pohl
af691f452d make include path in rebuild configurable (#733) 2020-03-04 14:12:29 +01:00
Johannes Pohl
561bf6d937 add *.pxd to package data of cythonext 2019-06-29 21:39:40 +02:00
Johannes Pohl
4de7bd7a1f Remove config.pxi and use compile_time_env instead (#484) 2018-07-01 11:36:15 +02:00
Johannes Pohl
b3fc97909a ensure cython can find config pxi when building with setuptools (#483)
* ensure cython can find config pxi when building with setuptools (#481)

* copy only if needed

* remove unused path
2018-06-30 19:52:15 +02:00
Johannes Pohl
fc27406fde Improve conditional compile of native device backends (#470)
* use pxi for config

* make cython mandatory + use pxi for conditional build

* remove build artifacts from git repo

* exit if cython not installed

* update gitignore

* update requirements and changelog

* fix parameter

* do not use multiprocessing for cython

* fix hackrf cython header

* fix include dirs

* add output

* add output

* paths must be absolute for windows cython

* update package data

* make a appveyor test release

* Revert "make a appveyor test release"

This reverts commit 46b09e146e.

* Update appveyor.yml

* update gitignore and config.pxi

* Revert "update gitignore and config.pxi"

This reverts commit 5e5d029e31.

* update config.pxi
2018-06-21 10:48:59 +02:00
Johannes Pohl
5569b1b10a Prebuild device extensions (#462)
* precompile device extensions

* set lib path

* prevent double build

* download libs in travis

* fix unittest

* update path

* protect access

* adapt shared path to linux

* sort os listdir

* ensure libstdc++ loaded first

* change name

* remove required

* improve test

* add usrp test

* set shared library path when processes spawn

* test pypi release with travis

* test pypi release with travis

* test pypi release with travis

* skip cleanup

* fix pypi test link

* test wheelhouse build

* skip tests

* fix path

* fix dir

* cd repo

* quote var

* do not use for loop

* add missing quote

* quote dollar

* script deployment

* fix twine upload

* deploy libs only for windows

* add 32 bit support

* fix command

* disable 32 bit

* push version for test

* push ver

* prepare merge

* trigger build

* fix windows path

* improve shortcut

* remove debug

* edit copyright
2018-06-17 22:31:36 +02:00
Johannes Pohl
6753baeacb use markdown for long description as new pypi supports its 2018-06-05 23:01:39 +02:00
Johannes Pohl
26e5bbb492 Add a CLI (#440)
* add argument parser for CLI

* add pause to cli

* parse messages to send

* add send function

* use while loop instead of hard sleep

* use logger for error msg

* use tabulator for progress bar

* prepare rx mode

* use Thread for Protocol Sniffer instead of qt signals

* adapt tests

* fix thread can only be started once error

* enable receiving from command line

* support send from file

* save gain correctly

* enable rx into file

* remove unused signal

* enable raw rx and file mode

* add support for device identifier

* add support for default pause

* enable abort sending witt ctrl c

* support encodings

* make logging multiprocessing aware and add autobuild extensions to cli

* move place

* fix sniffer when receiving multiple messages at once

* add test for modulator cli parsing and fix some bugs

* extend modulator test and fix another bug

* add unittests and reorder urh_cli structure

* add tests

* adapt CI to CLI tests

* force osx

* fix osx

* adapt close dialog method

* remove close dialog method

* test read messages to send

* centralize read messages method

* increase timeout for ci

* support loading of project files to load cli values

* add sleep for ci

* add cli to deployment

* replace static calls with ProjectManager Class

* use time sleep instead of qwait

* disable gc collect call

* disable gc collect for python 3.4 only

* gc collect only for osx

* simplify cleanup

* simplify cleanup

* advanced cleanup only for windows

* cleanup also for osx

* gc collect for osx

* add unittests

* consider frozen app path

* init multiprocessing first

* enable logging on cli for windows

* use log file handler for log

* add missing import
2018-06-01 09:59:53 +02:00
Johannes Pohl
54e87b7ff9 cleanup compiler warnings (#404)
* remove numpy warnings from compiler output on linux and osx

* optimize display of build log

* adapt travis conf

* init vars

* init vars

* use tail
2018-03-10 13:02:49 +01:00
Johannes Pohl
893dec57f9 Improve build (#402)
* refactor build scripts

* refactor rebuild extensions

* quiet down check for compiler has_function + fix cython warnings

* fix path

* remove init py to avoid cython warnings

* fix import

* improve rebuild button

* show selected backend in list

* cleanup device table in options

* cleanup

* add missing brace
2018-03-08 17:47:37 +01:00
Johannes Pohl
f937f9cba7 remove screenshots from PyPi Readme 2017-07-10 11:06:38 +02:00
Johannes Pohl
63e3c207a0 fix release file 2017-06-11 22:36:58 +02:00
Johannes Pohl
a17ddd6402 add release flag to handle pyqt dep correctly 2017-06-11 22:26:07 +02:00
Johannes Pohl
65ca93de96 fix appveyor 2017-06-11 21:54:30 +02:00
Johannes Pohl
353ce6855f Win precompile (#291)
build precompiled wheels for windows on git tag
2017-06-11 21:26:27 +02:00
Johannes Pohl
3a1a63759a consider subdirectories for include dirs properly 2017-05-20 11:05:42 +02:00
Johannes Pohl
081781e411 add native uhd support (#246)
add native uhd support
2017-05-20 10:13:06 +02:00
Johannes Pohl
f80ec7c448 add python3 hint for #251 2017-04-26 11:20:10 +02:00
jopohl
ae5e9e5c8d make headerfile detection more generic 2017-04-13 21:49:02 +02:00
Johannes Pohl
b9d534283c fix relative paths 2017-03-14 12:22:07 +01:00
Johannes Pohl
bee0f5a00a use varianle for relative paths 2017-03-14 11:46:26 +01:00
Johannes Pohl
113a75fb57 fix import 2017-03-13 19:30:30 +01:00
Johannes Pohl
0e2e685ff7 get_dev_modules -> get_dev_ext 2017-03-13 15:18:16 +01:00
Johannes Pohl
2b479628d3 fix path 2017-03-13 14:37:08 +01:00
Johannes Pohl
c4e7d5e56a move device extension build logic to new class 2017-03-13 14:33:03 +01:00
Johannes Pohl
e7344e6a6a refactoring 2017-03-02 18:25:47 +01:00
Johannes Pohl
808308a2ac make deps explicit configurable 2017-03-01 22:33:17 +01:00
Johannes Pohl
2d7dd0eff6 fix osx when xcode missing 2017-03-01 14:03:39 +01:00
Johannes Pohl
53e83048d3 bundle headers 2017-02-28 18:59:37 +01:00
Johannes Pohl
00aec862ee bundle headers in seperate dir for all OSes 2017-02-28 18:16:03 +01:00
Johannes Pohl
9a7286aff6 Merge pull request #169 from jopohl/rtlsdr-native-fix
Rtlsdr native fix
2017-02-27 18:17:45 +01:00
Johannes Pohl
c152915b3f make bandwidth adjustable if driver supports it 2017-02-27 17:36:46 +01:00
Johannes Pohl
e7434a2678 fix setup py 2017-02-27 14:24:24 +01:00
Johannes Pohl
43b55bf06b fix setup py 2017-02-27 14:19:26 +01:00
Johannes Pohl
e4e968271a skip building native backends for 32 bit python on windows 2017-02-27 08:23:58 +01:00
Johannes Pohl
b5ec0fee6b fix zqm req 2017-02-26 13:10:01 +01:00
Johannes Pohl
5b92eb3e0d Merge branch 'master' into gnuradio_windows_bugfix
# Conflicts:
#	src/urh/dev/BackendHandler.py
2017-02-25 10:12:17 +01:00
Johannes Pohl
f27b7d0277 remove bundled pyd 2017-02-25 09:39:21 +01:00
Johannes Pohl
c42e5e3e78 add hackrf files for windows 2017-02-25 09:07:10 +01:00
Johannes Pohl
be4f107112 add rtlsdr files for windows 2017-02-25 08:45:45 +01:00
Johannes Pohl
2107c0b072 add zmq requirement 2017-02-25 00:02:28 +01:00
Johannes Pohl
4a2888129d add pxd wrapper + implement first method for demo 2017-02-23 17:06:53 +01:00
andynoack
edbddd263a add python version check fix #150 2017-02-23 12:14:49 +01:00