manosim / manosim/django-rest-framework-docs

Unused dirs in global site-packages directory.

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
641
Forks
178
PR merge metrics
No merged PRs in 30d

Description

After installing `drfdocs` there are unused directories in `site-packages`, such as `site` and `tests`.
In `setup.py` file param `packages` should contain only `"rest_framework_docs"` entry, something like this:

```
...
packages=['rest_framework_docs', ],
...
```

It is important also because unused directories have very common names (`site` and `tests`).

Contributor guide

Open the contributing guide

Research direction

Open setup.py and inspect the packages parameter, which currently causes site and tests directories to be installed. Limit the package list to rest_framework_docs as described, then install drfdocs in a clean environment and verify that only the intended package directory is present.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.