Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
buspirate-python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dorota Czaplejewicz
buspirate-python
Commits
10098f37
Commit
10098f37
authored
Jun 23, 2017
by
Juergen Hasch
Committed by
GitHub
Jun 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8 from juhasch/fix/windows
Fix Windows autodetect
parents
90387d28
dacac6fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
pyBusPirateLite/BBIO_base.py
pyBusPirateLite/BBIO_base.py
+4
-0
setup.py
setup.py
+1
-0
No files found.
pyBusPirateLite/BBIO_base.py
View file @
10098f37
...
...
@@ -145,6 +145,8 @@ class BBIO_base:
for
port
in
ports
:
if
len
(
port
)
==
3
and
'0403:6001'
in
port
[
2
]:
return
port
[
0
]
if
len
(
port
)
==
3
and
'PID=0403,VID=6001'
in
port
[
2
]:
return
port
[
0
]
else
:
ports
=
list_ports
.
comports
()
for
port
in
ports
:
...
...
@@ -174,6 +176,8 @@ class BBIO_base:
if
portname
==
''
:
portname
=
self
.
get_port
()
if
portname
==
''
:
raise
IOError
(
'Could not autodetect a BusPirate device.'
)
self
.
portname
=
portname
try
:
...
...
setup.py
View file @
10098f37
...
...
@@ -15,6 +15,7 @@ setup(
url
=
"http://dangerousprototypes.com/docs/Bus_Pirate_Scripting_in_Python"
,
packages
=
[
'pyBusPirateLite'
],
long_description
=
read
(
'README.md'
),
install_requires
=
[
'pyserial'
],
classifiers
=
[
"Development Status :: 4 - Beta"
,
"Topic :: Utilities"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment