kytos-ng / sdntrace

Napp that traces OpenFlow paths in the dataplane
https://kytos-ng.github.io/api/sdntrace.html
GNU Lesser General Public License v3.0
0 stars 5 forks source link

Installing sdntrace through pip install -e fails #1

Closed italovalcy closed 3 years ago

italovalcy commented 3 years ago

Hi,

If you try to install sdntrace through pip install -e, it fails:

$ docker run -it --rm amlight/kytos python3 -m pip install -e git+https://github.com/amlight/sdntrace#egg=sdntrace
[ ok ] Starting enhanced syslogd: rsyslogd.
Starting Kytos controller: done
Obtaining sdntrace from git+https://github.com/amlight/sdntrace#egg=sdntrace
  Cloning https://github.com/amlight/sdntrace to /src/sdntrace
  Running command git clone -q https://github.com/amlight/sdntrace /src/sdntrace
  WARNING: Generating metadata for package sdntrace produced metadata for project name amlight-sdntrace. Fix your #egg=sdntrace fragments.
WARNING: Discarding git+https://github.com/amlight/sdntrace#egg=sdntrace. Requested amlight-sdntrace from git+https://github.com/amlight/sdntrace#egg=sdntrace has inconsistent name: filename has 'sdntrace', but metadata has 'amlight-sdntrace'
ERROR: Could not find a version that satisfies the requirement sdntrace (unavailable)
ERROR: No matching distribution found for sdntrace (unavailable)
italovalcy commented 3 years ago

Installing with egg=amlight-sdntrace seems to works:

$ docker run -it --rm amlight/kytos python3 -m pip install -e git+https://github.com/amlight/sdntrace#egg=amlight-sdntrace
[ ok ] Starting enhanced syslogd: rsyslogd.
Starting Kytos controller: done
Obtaining amlight-sdntrace from git+https://github.com/amlight/sdntrace#egg=amlight-sdntrace
  Cloning https://github.com/amlight/sdntrace to /src/amlight-sdntrace
  Running command git clone -q https://github.com/amlight/sdntrace /src/amlight-sdntrace
Requirement already satisfied: flask in /usr/local/lib/python3.7/dist-packages (from amlight-sdntrace) (1.1.2)
Requirement already satisfied: kytos in /usr/local/lib/python3.7/dist-packages (from amlight-sdntrace) (2020.2)
Requirement already satisfied: click>=5.1 in /usr/local/lib/python3.7/dist-packages (from flask->amlight-sdntrace) (7.1.1)
Requirement already satisfied: Werkzeug>=0.15 in /usr/local/lib/python3.7/dist-packages (from flask->amlight-sdntrace) (1.0.1)
Requirement already satisfied: Jinja2>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from flask->amlight-sdntrace) (2.11.1)
Requirement already satisfied: itsdangerous>=0.24 in /usr/local/lib/python3.7/dist-packages (from flask->amlight-sdntrace) (1.1.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from Jinja2>=2.10.1->flask->amlight-sdntrace) (1.1.1)
Requirement already satisfied: parso==0.6.2 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.6.2)
Requirement already satisfied: pexpect==4.8.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (4.8.0)
Requirement already satisfied: lockfile==0.12.2 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.12.2)
Requirement already satisfied: ptyprocess==0.6.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.6.0)
Requirement already satisfied: watchdog==0.10.2 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.10.2)
Requirement already satisfied: pygments==2.7.1 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (2.7.1)
Requirement already satisfied: pathtools==0.1.2 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.1.2)
Requirement already satisfied: pyjwt==1.7.1 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (1.7.1)
Requirement already satisfied: traitlets==4.3.3 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (4.3.3)
Requirement already satisfied: python-daemon==2.2.4 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (2.2.4)
Requirement already satisfied: python-socketio==4.5.1 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (4.5.1)
Requirement already satisfied: python-engineio==3.12.1 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (3.12.1)
Requirement already satisfied: jedi==0.16.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.16.0)
Requirement already satisfied: decorator==4.4.2 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (4.4.2)
Requirement already satisfied: pickleshare==0.7.5 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.7.5)
Requirement already satisfied: backcall==0.1.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.1.0)
Requirement already satisfied: python-openflow==2020.2 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (2020.2)
Requirement already satisfied: flask-cors==3.0.8 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (3.0.8)
Requirement already satisfied: flask-socketio==4.2.1 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (4.2.1)
Requirement already satisfied: janus==0.4.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.4.0)
Requirement already satisfied: prompt-toolkit==3.0.5 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (3.0.5)
Requirement already satisfied: six==1.15.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (1.15.0)
Requirement already satisfied: ipython-genutils==0.2.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.2.0)
Requirement already satisfied: wcwidth==0.1.9 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.1.9)
Requirement already satisfied: ipython==7.13.0 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (7.13.0)
Requirement already satisfied: docutils==0.16 in /usr/local/lib/python3.7/dist-packages (from kytos->amlight-sdntrace) (0.16)
Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.7/dist-packages (from ipython==7.13.0->kytos->amlight-sdntrace) (53.0.0)
Installing collected packages: amlight-sdntrace
  Running setup.py develop for amlight-sdntrace
Successfully installed amlight-sdntrace