kopia lustrzana https://github.com/dhylands/rshell
rodzic
624d5b1e3f
commit
6b80fbe1d4
17
Makefile
17
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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue