niradynamics / kafka-namespaced-user-topic-operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not possible to install the package due to reference to README.md outside the python project root

daha opened this issue · comments

I get the error below when trying to build the docker image or project:

Removing intermediate container 8b5ca3405ad6
---> 9a18130b47c6
Step 3/4 : COPY ./src /src
---> cc5b12906c9a
Step 4/4 : RUN cd /src && pip install . && rm -r /src
---> Running in 708494d36c35
Processing /src
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-qv_1kh0o/setup.py'"'"'; file='"'"'/tmp/pip-req-build-qv_1kh0o/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-qv_1kh0o/pip-egg-info
cwd: /tmp/pip-req-build-qv_1kh0o/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-qv_1kh0o/setup.py", line 16, in
with open(path.join(here, "..", 'README.md'), encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-qv_1kh0o/../README.md'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 19.3; however, version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.