1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
--- a/setup.py
+++ b/setup.py
@@ -31,6 +31,12 @@ mSoapy = Extension ('quisk.soapypkg.soap
include_dirs = ['.'],
)
+module_chas = Extension ('quisk.charleston.chas_rx1',
+ libraries = ['m', 'usb-1.0'],
+ sources = ['import_quisk_api.c', 'charleston/chas_rx2.c'],
+ include_dirs = ['.', '..', '/usr/include/libusb-1.0'],
+ )
+
# Changes for MacOS support thanks to Mario, DL3LSM.
# Changes for building from macports provided by Eric, KM4DSJ
# Updated code for a Mac build contributed by Christoph, DL1YCF, December 2020.
@@ -58,6 +64,7 @@ else: # Linux
Modules.append(mAfedri)
if os.path.isdir("/usr/include/SoapySDR") or os.path.isdir("/usr/local/include/SoapySDR"):
Modules.append(mSoapy)
+ Modules.append(module_chas)
setup (name = 'quisk',
version = Version,
@@ -77,6 +84,7 @@ N1MM+ and software that uses Hamlib.
url = 'http://james.ahlstrom.name/quisk/',
packages = ['quisk', 'quisk.n2adr', 'quisk.softrock', 'quisk.freedvpkg',
'quisk.hermes', 'quisk.hiqsdr', 'quisk.afedrinet', 'quisk.soapypkg',
+ 'quisk.charleston',
'quisk.sdrmicronpkg', 'quisk.perseuspkg', 'quisk.ac2yd'],
package_dir = {'quisk' : '.'},
package_data = {'' : ['*.txt', '*.html', '*.so', '*.dll']},
|