mirror of https://github.com/secdev/scapy.git
Made in-place and zip execution work with python2.6 (ticket #195)
This commit is contained in:
parent
eabb142ea3
commit
71ad2b6422
|
@ -1,3 +1,3 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
DIR=$(dirname $0)
|
DIR=$(dirname $0)
|
||||||
PYTHONPATH=$DIR exec python -m scapy/
|
PYTHONPATH=$DIR exec python -m scapy.__init__
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -9,7 +9,7 @@ import os
|
||||||
|
|
||||||
|
|
||||||
EZIP_HEADER="""#! /bin/sh
|
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):
|
def make_ezipfile(base_name, base_dir, verbose=0, dry_run=0):
|
||||||
|
|
Loading…
Reference in New Issue