Skip to content

janelia-python/pyty

Repository files navigation

pyty

Package Information

Name
pyty
Version
0.1.0
License
BSD
URL
https://github.com/janelia-python/pyty
Author
Peter Polidoro
Email
[email protected]

Tools for managing Teensy boards.

Example Usage

Build

manylinux

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

debian-based

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

About

Tools for managing Teensy boards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages