thenewboston-blockchain / thenewboston-python

Python library for thenewboston digital currency.
https://thenewboston.com
MIT License
104 stars 35 forks source link

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

Open dmugtasimov opened 3 years ago

dmugtasimov commented 3 years ago
(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