setup.py can not install due to incorrect module name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cairo Plot |
Fix Committed
|
Medium
|
Rodrigo Moreira Araújo |
Bug Description
I obtained the development version of CairoPlot and tried to run:
sudo python setup.py install
but got an error msg:
running install
running build
running build_py
file CairoPlot.py (for module CairoPlot) not found
file CairoPlot.py (for module CairoPlot) not found
running install_lib
warning: install_lib: 'build/
running install_egg_info
Writing /usr/local/
This is because the file is cairoplot.py, not CairoPlot.py. Because Python generally uses lowercase for module names, I changed the setup file to use the lowercase "cairoplot" instead of changing the filename. I was then able to install cairoplot. The diff is attached.
Changed in cairoplot: | |
assignee: | nobody → alf-rodrigo |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in cairoplot: | |
status: | Confirmed → Fix Committed |