aboutsummaryrefslogtreecommitdiffstats
path: root/host/python/setup.py.in
diff options
context:
space:
mode:
authorTrung Tran <trung.tran@ettus.com>2019-02-24 22:54:25 -0800
committerMichael West <michael.west@ettus.com>2019-03-05 10:30:36 -0800
commit192c7ca20a27e586491d42a2ec719d0bc6f66bee (patch)
treed47fdb36d542f8352fc8aac33f133019c70462ab /host/python/setup.py.in
parent16ef5140ca1dee3893be21cef116ad1dc09e4aef (diff)
downloaduhd-192c7ca20a27e586491d42a2ec719d0bc6f66bee.tar.gz
uhd-192c7ca20a27e586491d42a2ec719d0bc6f66bee.tar.bz2
uhd-192c7ca20a27e586491d42a2ec719d0bc6f66bee.zip
python: cmake: Use native format for setup.py
setuptools isn't compatible with Unix style path on Windows 10 machines. We need to convert any path before running setuptools. Signed-off-by: Trung Tran <trung.tran@ettus.com>
Diffstat (limited to 'host/python/setup.py.in')
-rwxr-xr-xhost/python/setup.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/python/setup.py.in b/host/python/setup.py.in
index 3c2176c0e..4d2df10a5 100755
--- a/host/python/setup.py.in
+++ b/host/python/setup.py.in
@@ -23,7 +23,7 @@ setup(name='uhd',
author_email='packages@ettus.com',
url='https://www.ettus.com/',
license='GPLv3',
- package_dir={'': '${CMAKE_CURRENT_BINARY_DIR}'},
+ package_dir={'': r'${NATIVE_CURRENT_BINARY_DIR}'},
package_data={'uhd': ['*.so']},
zip_safe=False,
packages=['uhd'],