diff --git a/Makefile b/Makefile index 2469b41..77c7845 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ +# +# Note: My setup uses the username/password stored in the ~/.pypirc file +# + test: ./tests/test-rshell.sh @@ -5,23 +9,18 @@ test: sdist: python3 setup.py sdist -# Registers this package on the pypi test server -register-test: - python3 setup.py register -r pypitest - # Creates the distribution tarball and uploads to the pypi test server upload-test: rm -rf dist/* python3 setup.py sdist - twine upload -u dhylands --repository-url https://test.pypi.org/legacy/ dist/* + twine upload -r testpypi dist/* # Creates the distribution tarball and uploads to the pypi live server upload: - #python3 setup.py sdist upload -r pypi rm -rf dist/* python3 setup.py sdist - twine upload -u dhylands dist/* + twine upload -r pypi dist/* # Registers this package on the pypi live server -register: - python3 setup.py register -r pypi +requirements: + pip install -r requirements.txt diff --git a/rshell/main.py b/rshell/main.py index 0fad6e7..80d8d6c 100755 --- a/rshell/main.py +++ b/rshell/main.py @@ -245,7 +245,7 @@ def is_micropython_usb_device(port): if usb_id.startswith('usb vid:pid=2e8a:0005'): USB_BUFFER_SIZE = RPI_PICO_USB_BUFFER_SIZE return True - # Check for XIAO ESP32C3 + # Check for XIAO ESP32S3 if usb_id.startswith('usb vid:pid=303a:4001'): USB_BUFFER_SIZE = 256 return True