Skip to content

Fix polluting site-packages with CHANGE.rst, LICENSE and pytest.ini files when package is installed #83

@dmugtasimov

Description

@dmugtasimov
(thenewboston-bank-r7f_GShq-py3.9) dmugtasimov@dmugtasimov-Latitude-E5550 ~/gitrep/thenewboston/Bank $ poetry add thenewboston==0.2.1

Updating dependencies
Resolving dependencies... (0.7s)

Package operations: 1 install, 0 updates, 0 removals

  • Installing thenewboston (0.2.1)

(thenewboston-bank-r7f_GShq-py3.9) dmugtasimov@dmugtasimov-Latitude-E5550 ~/gitrep/thenewboston/Bank $ pip uninstall thenewboston
Found existing installation: thenewboston 0.2.1
Uninstalling thenewboston-0.2.1:
  Would remove:
    /home/dmugtasimov/.virtualenvs/thenewboston-bank-r7f_GShq-py3.9/lib/python3.9/site-packages/CHANGE.rst
    /home/dmugtasimov/.virtualenvs/thenewboston-bank-r7f_GShq-py3.9/lib/python3.9/site-packages/LICENSE
    /home/dmugtasimov/.virtualenvs/thenewboston-bank-r7f_GShq-py3.9/lib/python3.9/site-packages/pytest.ini
    /home/dmugtasimov/.virtualenvs/thenewboston-bank-r7f_GShq-py3.9/lib/python3.9/site-packages/thenewboston-0.2.1.dist-info/*
    /home/dmugtasimov/.virtualenvs/thenewboston-bank-r7f_GShq-py3.9/lib/python3.9/site-packages/thenewboston/*
Proceed (y/n)? n

(thenewboston-bank-r7f_GShq-py3.9) dmugtasimov@dmugtasimov-Latitude-E5550 ~/gitrep/thenewboston/Bank $ cat /home/dmugtasimov/.virtualenvs/thenewboston-bank-r7f_GShq-py3.9/lib/python3.9/site-packages/pytest.ini
# TODO(dmu) LOW: Consider moving pytest configuration to `pyproject.toml`
[pytest]
python_files = tests/*.py
norecursedirs = .* .git *.egg build dist tmp* node_modules

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions