Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install from source #165

Open
Forza-tng opened this issue Jun 8, 2023 · 3 comments
Open

Install from source #165

Forza-tng opened this issue Jun 8, 2023 · 3 comments
Labels
question Further information is requested

Comments

@Forza-tng
Copy link

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 :)

@supakeen
Copy link
Owner

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 supakeen added the question Further information is requested label Jul 17, 2023
@Forza-tng
Copy link
Author

Forza-tng commented Nov 4, 2023

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

@supakeen
Copy link
Owner

supakeen commented Nov 6, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants