Skip to content

make cview module importable #9

@utkarshayachit

Description

@utkarshayachit

Can we move the code under 1 to a callable function, say main(args) and then call that? That way, another module that imports this module can still choose to execute the main-loop.

The need for this change is as follows:

In ParaView, this package will be installed under ./lib/python3.6/site-packages/paraview/tpl/cinemasci. To run the app, users will need to run pvpython with a longer path to -m. I think I'll add a cinema_viewer.py under paraview/ that internally forwards to cview/ to make it easier for ParaView users.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions