source: sasmodels/sascomp @ 7e9af82

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 7e9af82 was 7e9af82, checked in by Paul Kienzle <pkienzle@…>, 9 years ago

use realpath to sascomp so we can symlink it to ~/bin

  • Property mode set to 100755
File size: 518 bytes
RevLine 
[7e9af82]1#!/usr/bin/env python
2
3import sys
4import os
5import glob
6
7def main():
8    sasmodels = os.path.dirname(os.path.realpath(__file__))
9    root = os.path.dirname(sasmodels)
10    sasview=glob.glob(os.path.join(root, 'sasview', 'build', 'lib.*' ))[0]
11    sys.path.insert(0, os.path.join(root, 'bumps'))
12    sys.path.insert(0, os.path.join(root, 'periodictable'))
13    sys.path.insert(0, sasview)
14    sys.path.insert(0, sasmodels)
15
16    import sasmodels.compare
17    sasmodels.compare.main()
18
19if __name__ == "__main__":
20    main()
Note: See TracBrowser for help on using the repository browser.