npiv / chatblade

A CLI Swiss Army Knife for ChatGPT
GNU General Public License v3.0
2.58k stars 92 forks source link

Add build instructions using a PEP517 installer #77

Open hashworks opened 8 months ago

hashworks commented 8 months ago

Up until now I've build this using setup.py, but that will go away sometime (and python 3.12 is around the corner).

Could you add some instructions on how to build this using a PEP517 installer?

hashworks commented 8 months ago

Using python-build, python-wheel and python-installer seems to work just fine:

python -m build --wheel --no-isolation
python -m installer --destdir="${pkgdir}" dist/*.whl

Would you recommend that way for packaging?

npiv commented 8 months ago

Hi @hashworks sorry for the late reply, I was on holiday. I'll have to take a look, do you have any suggestions?

hashworks commented 8 months ago

As I've said in my previous message, this is what we are currently using.