Skip to content

Commit

Permalink
set up ani_depthplot_anaconda, addresses #215
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshoes87 committed Jun 13, 2017
1 parent 1bb6e9c commit 2d04208
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
15 changes: 15 additions & 0 deletions bin/ani_depthplot_anaconda
@@ -0,0 +1,15 @@
#!/usr/bin/env pythonw

# -*- coding: utf-8 -*-
import re
import sys

# this is handled in programs/__init__.py instead:
#import matplotlib
#matplotlib.use('WXAgg')

from programs.ani_depthplot import main

if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
3 changes: 2 additions & 1 deletion command_line_setup.py
Expand Up @@ -156,7 +156,8 @@ def run(self):
# },
scripts=['bin/pmag_gui_anaconda', 'bin/magic_gui_anaconda',
'bin/magic_gui2_anaconda', 'bin/thellier_gui_anaconda',
'bin/demag_gui_anaconda', 'bin/core_depthplot_anaconda'],
'bin/demag_gui_anaconda', 'bin/core_depthplot_anaconda',
'bin/ani_depthplot_anaconda'],
entry_points={
'console_scripts': programs_list,
'gui_scripts': [
Expand Down
3 changes: 3 additions & 0 deletions programs/ani_depthplot.py
Expand Up @@ -24,6 +24,9 @@ def main():
SYNTAX
ani_depthplot.py [command line optins]
# or, for Anaconda users:
ani_depthplot_anaconda [command line options]
OPTIONS
-h prints help message and quits
Expand Down

0 comments on commit 2d04208

Please sign in to comment.