Skip to content

Commit

Permalink
setup.py: fix name, bump version
Browse files Browse the repository at this point in the history
Signed-off-by: John McMaster <[email protected]>
  • Loading branch information
JohnDMcMaster committed May 19, 2020
1 parent 9bf1bea commit cdea59e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,11 @@ or convert USB output to higher level API calls.
An example can be found here: https://github.com/ProgHQ/bpmicro/blob/master/scrape.py
This example first aggregates USB packets into application specific packets, and then decodes these into API calls


# USB serial decoder

usbrply-serial supported adapters:
* FT2232C: data rx/tx

TODO: write doc

12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."),
Expand Down

0 comments on commit cdea59e

Please sign in to comment.