Skip to content

Commit 6b80fbe

Browse files
committed
Updated twine make rules
1 parent 624d5b1 commit 6b80fbe

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Makefile

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
1+
#
2+
# Note: My setup uses the username/password stored in the ~/.pypirc file
3+
#
4+
15
test:
26
./tests/test-rshell.sh
37

48
# Creates the source distribution tarball
59
sdist:
610
python3 setup.py sdist
711

8-
# Registers this package on the pypi test server
9-
register-test:
10-
python3 setup.py register -r pypitest
11-
1212
# Creates the distribution tarball and uploads to the pypi test server
1313
upload-test:
1414
rm -rf dist/*
1515
python3 setup.py sdist
16-
twine upload -u dhylands --repository-url https://test.pypi.org/legacy/ dist/*
16+
twine upload -r testpypi dist/*
1717

1818
# Creates the distribution tarball and uploads to the pypi live server
1919
upload:
20-
#python3 setup.py sdist upload -r pypi
2120
rm -rf dist/*
2221
python3 setup.py sdist
23-
twine upload -u dhylands dist/*
22+
twine upload -r pypi dist/*
2423

2524
# Registers this package on the pypi live server
26-
register:
27-
python3 setup.py register -r pypi
25+
requirements:
26+
pip install -r requirements.txt

rshell/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def is_micropython_usb_device(port):
245245
if usb_id.startswith('usb vid:pid=2e8a:0005'):
246246
USB_BUFFER_SIZE = RPI_PICO_USB_BUFFER_SIZE
247247
return True
248-
# Check for XIAO ESP32C3
248+
# Check for XIAO ESP32S3
249249
if usb_id.startswith('usb vid:pid=303a:4001'):
250250
USB_BUFFER_SIZE = 256
251251
return True

0 commit comments

Comments
 (0)