From 71ad2b6422bb7119319b971d348cd4aca434ce91 Mon Sep 17 00:00:00 2001 From: Phil <phil@secdev.org> Date: Tue, 14 Apr 2009 01:16:00 +0200 Subject: [PATCH] Made in-place and zip execution work with python2.6 (ticket #195) --- run_scapy | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run_scapy b/run_scapy index 5f51187b..c4723fe5 100755 --- a/run_scapy +++ b/run_scapy @@ -1,3 +1,3 @@ #! /bin/sh DIR=$(dirname $0) -PYTHONPATH=$DIR exec python -m scapy/ +PYTHONPATH=$DIR exec python -m scapy.__init__ diff --git a/setup.py b/setup.py index 45282c3e..4f8a9b8c 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ import os EZIP_HEADER="""#! /bin/sh -PYTHONPATH=$0/%s exec python -m scapy +PYTHONPATH=$0/%s exec python -m scapy.__init__ """ def make_ezipfile(base_name, base_dir, verbose=0, dry_run=0): -- GitLab