Skip to content
Snippets Groups Projects
Commit 29146dda authored by Dirk Loss's avatar Dirk Loss
Browse files

Added batch files to start Scapy and UTScapy on Windows

parent 98007c60
No related branches found
No related tags found
No related merge requests found
REM Use Python to run the UTscapy script from the current directory, passing all parameters
@python %~dp0\UTscapy %*
\ No newline at end of file
REM Use Python to run the Scapy script from the current directory, passing all parameters
@python %~dp0\scapy %*
\ No newline at end of file
...@@ -34,12 +34,16 @@ def make_ezipfile(base_name, base_dir, verbose=0, dry_run=0): ...@@ -34,12 +34,16 @@ def make_ezipfile(base_name, base_dir, verbose=0, dry_run=0):
archive_util.ARCHIVE_FORMATS["ezip"] = (make_ezipfile,[],'Executable ZIP file') archive_util.ARCHIVE_FORMATS["ezip"] = (make_ezipfile,[],'Executable ZIP file')
SCRIPTS = ['bin/scapy','bin/UTscapy']
# On Windows we also need additional batch files to run the above scripts
if os.name == "nt":
SCRIPTS += ['bin/scapy.bat','bin/UTscapy.bat']
setup( setup(
name = 'scapy', name = 'scapy',
version = '2.0.1-dev', version = '2.0.1-dev',
packages=['scapy','scapy/arch', 'scapy/arch/windows', 'scapy/layers','scapy/asn1','scapy/tools','scapy/modules'], packages=['scapy','scapy/arch', 'scapy/arch/windows', 'scapy/layers','scapy/asn1','scapy/tools','scapy/modules'],
scripts = ['bin/scapy','bin/UTscapy'], scripts = SCRIPTS,
data_files = [('share/man/man1', ["doc/scapy.1.gz"])], data_files = [('share/man/man1', ["doc/scapy.1.gz"])],
# Metadata # Metadata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment