bin/q3562

Tue, 01 May 2018 00:10:23 +0200

author
David Douard <david.douard@logilab.fr>
date
Tue, 01 May 2018 00:10:23 +0200
changeset 86
96e30b092f70
parent 43
a250bd7a2022
permissions
-rwxr-xr-x

[py3k] beginning to port to py3k

also write a proper setuptools based setup.py and convert some bin/* scripts
as entry_points.

43
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 #!/usr/bin/python
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 import sys, os
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4 try:
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 from pygpibtoolkit.HP3562A.q3562A import main
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 except ImportError:
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7 sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 from pygpibtoolkit.HP3562A.q3562A import main
a250bd7a2022 more work on HP3562A data block dumper/displayer application.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 main()

mercurial