Put pmbootstrap up on pypi
I thought it would be a good idea to put pmbootstrap up on pypi, before the name is taken.
So far I've written the following script and uploaded it: https://pypi.org/project/pmbootstrap/
#!/bin/sh -e
cd ~/code/pmbootstrap
echo ":: upgrade python dependencies"
python3 -m pip install --user --upgrade twine setuptools wheel
echo ":: upgrade pmbootstrap"
git checkout master
git pull
version="$(git describe --tags)"
echo ":: checking out latest version $version"
git checkout "$version"
echo ":: generate package"
[ -d dist ] && rm -r dist
python3 setup.py sdist bdist_wheel
echo ":: uploading"
twine upload dist/*
However, there are two problems.
- The description is messed up, because pypi doesn't display markdown there (or can that be activated?)
- It doesn't work when installed with pip:
pmbootstrap
Traceback (most recent call last):
File "/home/user/.local/bin/pmbootstrap", line 7, in <module>
from pmb import main
ModuleNotFoundError: No module named 'pmb'
Is someone good with pypi and wants to help out?
Edited by Oliver Smith