pinnwand icon indicating copy to clipboard operation
pinnwand copied to clipboard

Install from source

Open Forza-tng opened this issue 1 year ago • 3 comments

Hi, Is there a way to install Pinnwand from sources rather than via pip? I'd like to be able to customise the html and css of my installation.

Thanks :)

Forza-tng avatar Jun 08 '23 06:06 Forza-tng

Sure, it should be; download the source tarball from pypi (or github on the releases)-page and then a pip install . in that directory.

supakeen avatar Jul 17 '23 12:07 supakeen

Thanks. This works. It's there a way to make it without pip? I am considering packaging Pinnwand on Alpine and we want to keep dependencies minimal.

The preferred way to install a python package is through python setup.py or via gpep517

Some examples are https://gitlab.alpinelinux.org/forza/aports/-/blob/master/testing/yamkix/APKBUILD

https://gitlab.alpinelinux.org/forza/aports/-/blob/master/testing/sshuttle/APKBUILD

https://gitlab.alpinelinux.org/forza/aports/-/blob/master/testing/sqlmap/APKBUILD

Forza-tng avatar Nov 04 '23 13:11 Forza-tng

I think everything you'd need should be in the pyproject.toml but I readily admit I'm not the best at pep517. Let me direct a friendly Alpine developer into this issue to see what they think!

supakeen avatar Nov 06 '23 07:11 supakeen