- Name
- pyty
- Version
- 0.1.0
- License
- BSD
- URL
- https://github.com/janelia-python/pyty
- Author
- Peter Polidoro
- [email protected]
Tools for managing Teensy boards.
git clone https://github.com/janelia-python/pyty.git
cd pyty
git submodule init
git submodule update
# x86-64bit
docker build -f Dockerfile.bdist.x86_64 -t pyty.bdist:latest .
# arm-64bit
docker build -f Dockerfile.bdist.aarch64 -t pyty.bdist:latest .
docker run -it -v `pwd`:/io pyty.bdist:latest /bin/bash
/opt/python/cp38-cp38/bin/python setup.py sdist bdist_wheel
auditwheel repair dist/*.whl
exit
twine upload -r pypi wheelhouse/*.whl
mkdir ~/venvs
python3 -m venv ~/venvs/pyty
source ~/venvs/pyty/bin/activate
pip install -U wheelhouse/*.whl
Pypi only hosts manylinux wheels, but this can be useful for development.
sudo apt-get install build-essential cmake libudev-dev qtbase5-dev pkg-config
git clone https://github.com/janelia-python/pyty.git
cd pyty
git submodule init
git submodule update
mkdir -p ~/venvs
python3 -m venv ~/venvs/env && source ~/venvs/env/bin/activate
pip install -U pip wheel setuptools twine
git clean -xdf && python setup.py sdist bdist_wheel && unzip -l dist/*.whl && tar --list -f dist/*.tar.gz
python setup.py install