aboutcode-org / aboutcode-org/deltacode

Configure failed with "file setup.py not found"

Open
#163 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
27
PR merge metrics
No merged PRs in 30d

Description

After downloading deltacode and running ./deltacode --help to configure, I get the following error message:

`ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker
./deltacode/deltacode: line 114: /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/deltacode/bin/deltacode: No such file or directory
/local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/bin/process_delta.rb:59:in `read': No such file or directory @ rb_sysopen - /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/output.json (Errno::ENOENT)
from /local/worker/testruns/1d3c4735-714d-4292-909b-69854d0698ab/src/LicenseChecker/bin/process_delta.rb:59:in `'`

I am fairly certain that the "setup.py not found" error is coming from `pip install -e .[testing]` in the configure script: https://github.com/nexB/deltacode/blob/develop/configure#L38, but I'm not sure how to fix it.

I am running this on linux and have both python3.7 and python2.7 installed at the level of the root directory.

I realize this is likely not an issue specifically with deltacode; however, I haven't found success finding resources to help elsewhere, so I'd appreciate any help you can provide!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.