graphite-project / graphite-web

A highly scalable real-time graphing system

Home Page:http://graphite.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Source install includes .egg directories

itinneed2022 opened this issue · comments

Describe the bug
When trying to install from source, the path is extended to include ".egg" directories in /opt/graphite/webapp, /opt/graphite/lib

To Reproduce
I installed the requirements using the requirements.txt file:
(/usr/local/src/carbon -or- graphite)
python39 -m pip install -r requirements.txt
And then installed carbon:
python39 setup.py install

Expected behavior
/opt/graphite/webapp/ should contain content and graphite directories
This will let me run the django-admin migrate steps later in setup.

Screenshots
image

Environment (please complete the following information):

  • OS flavor: Red Hat 8.8
  • Graphite-web version 1.2.0
  • Django/Python version Python39, Django==4.2.7
  • Setup type Source

Additional context
I installed Django 4.2.7, using the requirements file. But I'm seeing Django 3.2.23 in the default directory:
/app/graphite/webapp/Django-3.2.23-py3.9.egg/

Note, I just switched to Graphite 1.1.0, and the directory issue is gone.

Yes, confirming that. For proper installation with recent python you need to call it like

python39 setup.py install --single-version-externally-managed --root=/