##// END OF EJS Templates
Merge pull request #3556 from minrk/no_margv...
Merge pull request #3556 from minrk/no_margv remove mention of nonexistent `_margv` in macro

File last commit:

r11089:45d39d22
r11217:279d3b80 merge
Show More
python_armor.py
32 lines | 1.0 KiB | text/x-python | PythonLexer
"""
Exporter that exports a Python-Armor code file (.py)
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.utils.traitlets import Unicode
from .python import PythonExporter
#-----------------------------------------------------------------------------
# Classes
#-----------------------------------------------------------------------------
class PythonArmorExporter(PythonExporter):
"""
Exports a Python-Armor code file (.py)
"""
template_file = Unicode(
'python_armor', config=True,
help="Name of the template file to use")