def __init__(self, script):
        # We assume 'script' is in the current directory. We simply get the
        # base part and turn it into a .py name for inclusion in the Storm
        # jar we create.
        path, basename = os.path.split(os.path.relpath(script))
        assert len(path) == 0
        script = '%s.py' % os.path.splitext(basename)[0]
        self.execution_command = self.DEFAULT_PYTHON
        self.script = script
        self._json = {}
        super(EmitterBase, self).__init__()
dataset/ETHPy150Open AirSage/Petrel/petrel/petrel/emitter.py/EmitterBase.__init__/original