forked from JohnDMcMaster/usbrply
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: John McMaster <[email protected]>
- Loading branch information
1 parent
9bf1bea
commit cdea59e
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,19 +14,19 @@ def read(fname): | |
if not os.path.exists('build'): | ||
os.mkdir('build') | ||
scripts = ( | ||
'usbrply.py', | ||
#'usbrplyw.py', | ||
('main.py', 'usbrply'), | ||
('serial.py', 'usbrply-serial'), | ||
) | ||
scripts_dist = [] | ||
for script in scripts: | ||
for src_fn, prog_name in scripts: | ||
# Make script names more executable like | ||
dst = 'build/' + script.replace('.py', '').replace('_', '-') | ||
shutil.copy(script, dst) | ||
dst = 'build/' + prog_name | ||
shutil.copy(src_fn, dst) | ||
scripts_dist.append(dst) | ||
|
||
setup( | ||
name="usbrply", | ||
version="0.1.0", | ||
version="1.0.0", | ||
author="John McMaster", | ||
author_email='[email protected]', | ||
description=("Replay captured USB packets from .pcap file."), | ||
|