setup.py can not install due to incorrect module name

Bug #339735 reported by Michael Wayne Goodman
2
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/lib.linux-x86_64-2.6' does not exist -- no Python modules to install
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/Cairoplot-1.1-py2.6.egg-info

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.

Revision history for this message
Michael Wayne Goodman (goodmami) wrote :
Changed in cairoplot:
assignee: nobody → alf-rodrigo
importance: Undecided → Medium
status: New → Confirmed
Changed in cairoplot:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.