Skip to content

Python pkg #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 30, 2018
Merged

Python pkg #2

merged 7 commits into from
Jul 30, 2018

Conversation

jcfr
Copy link

@jcfr jcfr commented Jul 30, 2018

No description provided.

jcfr added 6 commits July 30, 2018 00:31
This commit generalizes the approach originally introduced in e880bf0
to prevent the development files from being installed when building the
python package.
This will ensure that executable will be available after installed
the wheel.

The approach adapted from scikit-build/cmake-python-distributions
and scikit-build/ninja-python-distribution projects.

For more details, see https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation
This is useful when developing locally.
@dralley dralley merged commit da85933 into dralley:python-pkg Jul 30, 2018
@jcfr jcfr deleted the python-pkg branch July 30, 2018 17:56
dralley pushed a commit that referenced this pull request Feb 17, 2019
Addressing
2:
2: ======================================================================
2: ERROR: test_crfile_xz_compression (tests.test_crfile.TestCaseCrFile)
2: ----------------------------------------------------------------------
2: Traceback (most recent call last):
2:   File "/src/tests/python/tests/test_crfile.py", line 104, in test_crfile_xz_compression
2:     p = subprocess.Popen(["unxz", "--stdout", path], stdout=subprocess.PIPE)
2:   File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__
2:     restore_signals, start_new_session)
2:   File "/usr/lib64/python3.7/subprocess.py", line 1522, in _execute_child
2:     raise child_exception_type(errno_num, err_msg, err_filename)
2: FileNotFoundError: [Errno 2] No such file or directory: 'unxz': 'unxz'
2:
2: ======================================================================
2: ERROR: test_crfile_zck_compression (tests.test_crfile.TestCaseCrFile)
2: ----------------------------------------------------------------------
2: Traceback (most recent call last):
2:   File "/src/tests/python/tests/test_crfile.py", line 120, in test_crfile_zck_compression
2:     p = subprocess.Popen(["unzck", "--stdout", path], stdout=subprocess.PIPE)
2:   File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__
2:     restore_signals, start_new_session)
2:   File "/usr/lib64/python3.7/subprocess.py", line 1522, in _execute_child
2:     raise child_exception_type(errno_num, err_msg, err_filename)
2: FileNotFoundError: [Errno 2] No such file or directory: 'unzck': 'unzck'
2:
2: ======================================================================
2: ERROR: test_xmlfile_xz_compression (tests.test_xml_file.TestCaseXmlFile)
2: ----------------------------------------------------------------------
2: Traceback (most recent call last):
2:   File "/src/tests/python/tests/test_xml_file.py", line 131, in test_xmlfile_xz_compression
2:     p = subprocess.Popen(["unxz", "--stdout", path], stdout=subprocess.PIPE)
2:   File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__
2:     restore_signals, start_new_session)
2:   File "/usr/lib64/python3.7/subprocess.py", line 1522, in _execute_child
2:     raise child_exception_type(errno_num, err_msg, err_filename)
2: FileNotFoundError: [Errno 2] No such file or directory: 'unxz': 'unxz'
2:
2: ======================================================================
2: ERROR: test_xmlfile_zck_compression (tests.test_xml_file.TestCaseXmlFile)
2: ----------------------------------------------------------------------
2: Traceback (most recent call last):
2:   File "/src/tests/python/tests/test_xml_file.py", line 149, in test_xmlfile_zck_compression
2:     p = subprocess.Popen(["unzck", "--stdout", path], stdout=subprocess.PIPE)
2:   File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__
2:     restore_signals, start_new_session)
2:   File "/usr/lib64/python3.7/subprocess.py", line 1522, in _execute_child
2:     raise child_exception_type(errno_num, err_msg, err_filename)
2: FileNotFoundError: [Errno 2] No such file or directory: 'unzck': 'unzck'
2:
2: ----------------------------------------------------------------------
2: Ran 96 tests in 0.179s
2:
2: FAILED (errors=4)
2/2 Test #2: test_python ......................***Failed    0.44 sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants