bs4/doc -> doc

Reported by Arfrever Frehtes Taifersar Arahesis on 2012-02-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup
Undecided
Unassigned

Bug Description

setup.py installs bs4/doc directory as /usr/lib/pythonX.Y/site-packages/bs4/doc, but it shouldn't. This directory should be moved to top-level directory to avoid installation. site-packages is for Python modules, not Makefile, images etc.

Leonard Richardson (leonardr) wrote :

Can you recommend a solution that will solve both this bug and https://bugs.launchpad.net/ubuntu/+source/beautifulsoup/+bug/478932? I'm not skilled at distutils and putting the doc/ directory in the source was the only way I could get setup.py to include it.

Leonard

Sources of documentation shouldn't be installed. Building of documentation requires Sphinx. Building of documentation should occur only after user has explicitly requested it (e.g. using `make html`). Different operating systems / distributions have different policies about where HTML documentation should be installed.

Leonard Richardson (leonardr) wrote :

By listing the doc/ directory in MANIFEST.in instead of setup.py, I was able to get the documentation included in the tarball without making setup.py install it.

Changed in beautifulsoup:
status: New → Fix Committed
Changed in beautifulsoup:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers