Print

Print


@matthewfeickert : thanks a lot for the PR! 

I do have one question, I tried building and installing using `pip` and here's what I noticed:

```
    docker run -it cern/cc7-base /bin/bash
    yum -y install cmake3 make gcc-c++ zlib-devel openssl-devel python3-devel libuuid-devel devtoolset-7  git
    git clone https://github.com/xrootd/xrootd
    cd xrootd/
    git fetch origin pull/1672/head:pr-1672
    git checkout pr-1672
    git tag -a v6.0.0 -m test
   yum install --nogpg -y git python3-pip
   cp packaging/wheel/* .
   ./publish.sh 
   python3 -m pip install dist/xrootd-6.0.0.tar.gz 
```

this fails with following error message:

```
python3 -m pip install dist/xrootd-6.0.0.tar.gz 
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Processing ./dist/xrootd-6.0.0.tar.gz
  Requirement already satisfied (use --upgrade to upgrade): xrootd==6.0.0 from file:///xrootd/dist/xrootd-6.0.0.tar.gz in /xrootd
Building wheels for collected packages: xrootd
  Running setup.py bdist_wheel for xrootd ... done
  Running setup.py clean for xrootd
Failed to build xrootd
```

however if instead of `python3 -m pip install` I do `pip3 install` it does work like a charm.

Any idea why? (pardon my ignorance if this is a trivial question or expected behaviour)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1672#issuecomment-1108624417
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1