22 lines
No EOL
701 B
Bash
22 lines
No EOL
701 B
Bash
#!/usr/bin/zsh
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
|
|
# be sure to change version if needed!
|
|
fpm -s python --python-bin python3 --python-pip pip3 --python-package-name-prefix python3 \
|
|
-m '"Joel Klimont" <joel.klimont@gmail.com>' \
|
|
--license 'proprietary' \
|
|
--description 'Library for robot used in the competition' \
|
|
--after-install postinstall.sh \
|
|
--deb-generate-changes \
|
|
--deb-dist "buster" \
|
|
--deb-priority "optional" \
|
|
--deb-changelog changelog \
|
|
--deb-upstream-changelog changelog \
|
|
-v 0.0.2-4 -t deb setup.py
|
|
|
|
# --deb-field "Distribution: stable" \
|
|
|
|
sudo apt purge python3-complib -y
|
|
sudo apt install ./python3-*
|
|
sudo apt search complib
|
|
#ar vx ./python3* |