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

Configure /usr/pwntools-doc #2150

Open
kpcyrd opened this issue Dec 29, 2022 · 1 comment
Open

Configure /usr/pwntools-doc #2150

kpcyrd opened this issue Dec 29, 2022 · 1 comment

Comments

@kpcyrd
Copy link
Contributor

kpcyrd commented Dec 29, 2022

hi!

I'm trying to package the new 4.9.0 version and noticed this diff by our packaging tools:

usr/lib/python3.10/site-packages/pwntools-doc/		      |	usr/pwntools-doc/
usr/lib/python3.10/site-packages/pwntools-doc/CHANGELOG.md    |	usr/pwntools-doc/CHANGELOG.md
usr/lib/python3.10/site-packages/pwntools-doc/CONTRIBUTING.md |	usr/pwntools-doc/CONTRIBUTING.md
usr/lib/python3.10/site-packages/pwntools-doc/DOCKER.md	      |	usr/pwntools-doc/DOCKER.md
usr/lib/python3.10/site-packages/pwntools-doc/LICENSE-pwntool |	usr/pwntools-doc/LICENSE-pwntools.txt
usr/lib/python3.10/site-packages/pwntools-doc/README.md	      |	usr/pwntools-doc/README.md
usr/lib/python3.10/site-packages/pwntools-doc/TESTING.md      |	usr/pwntools-doc/TESTING.md
usr/lib/python3.10/site-packages/pwntools-doc/requirements.tx |	usr/pwntools-doc/requirements.txt

I ultimately don't care that much about the documentation location, but /usr/pwntools-doc is not a standard location according to the Filesystem Hierarchy Standard. Is there a way I can change this to /usr/share/doc/pwntools when building the package?

I'm using this command to prepare the package contents (${pkgdir} is the directory that gets put into the package):

python setup.py install -O1 --root="${pkgdir}" --skip-build --only-use-pwn-command

Thanks!

@kpcyrd kpcyrd added the feature label Dec 29, 2022
@Arusekk
Copy link
Member

Arusekk commented Dec 29, 2022

Honestly, I have not changed anything concerning installation I think, but if you want to improve that, I will be happy to merge it. I have a plan to migrate setup.py to setup.cfg soon, so that might clean up such weirdnesses.

@Arusekk Arusekk added this to the 5.0.0 milestone Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants