Ignore:
Timestamp:
Oct 15, 2013 8:22:10 PM (9 years ago)
Author:
jemian
Message:

figured out how to create and install starter scripts using setup.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bcdaqwidgets/trunk/src/bcdaqwidgets_demos/pvview.py

    r1440 r1443  
    77from PySide.QtGui import QWidget, QLabel, QGridLayout, QApplication
    88
    9 sys.path.insert(0, os.path.abspath('..'))
     9#sys.path.insert(0, os.path.abspath('..'))
    1010import bcdaqwidgets
    1111
     
    4848        self.grid.addWidget(widget, row, 1)
    4949
    50 if __name__ == '__main__':
     50
     51def main():
    5152    app = QApplication(sys.argv)
    5253    probe = PVView()
     
    5960
    6061
     62if __name__ == '__main__':
     63    main()
     64
     65
    6166########### SVN repository information ###################
    6267# $Date$
Note: See TracChangeset for help on using the changeset viewer.