Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 740
    • Issues 740
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 196
    • Merge requests 196
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #13699
Closed
Open
Created Dec 03, 2012 by Kitware Robot@kwrobotOwner

Bug in Wrapping/Python/setup_install_paths.py

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


Handling of options is in Wrapping/Python/setup_install_paths.py is buggy.

In line 38 of Wrapping/Python/setup_install_paths.py in Vtk 5.10, there is options[option] = 1 to handle command line options that do not contain a "=". However, "option" is not set or set to the value from the previous command arg if an ValueError in the option, value = string.split(arg,"=") operation is raised.

The line 38 should contain options[arg] = 1 because arg is the right thing here.

To see the bug call python Wrapping/Python/setup_install_paths.py purelib --prefix=/homebrew/Cellar/vtk/5.10.0 --single-version-externally-managed. You'll find that options['--prefix']==1.

Assignee
Assign to
Time tracking