Dec-10-2020, 01:32 AM
when i install or upgrade a package using pip, i want to have it extract a list of all the files is there an option to get that during the install or upgrade?
--files
option.(my_env) G:\div_code\my_env λ pip show --files requests Name: requests Version: 2.25.0 Summary: Python HTTP for Humans. Home-page: https://requests.readthedocs.io Author: Kenneth Reitz Author-email: [email protected] License: Apache 2.0 Location: g:\div_code\my_env\lib\site-packages Requires: urllib3, idna, chardet, certifi Required-by: Files: requests-2.25.0.dist-info\INSTALLER requests-2.25.0.dist-info\LICENSE requests-2.25.0.dist-info\METADATA requests-2.25.0.dist-info\RECORD requests-2.25.0.dist-info\REQUESTED requests-2.25.0.dist-info\WHEEL requests-2.25.0.dist-info\top_level.txt requests\__init__.py requests\__pycache__\__init__.cpython-38.pyc .....To it test with a package that has a binary file,which is not in
site-packages
folder...\..\Scripts\chardetect.exe
reference. (my_env) G:\div_code\my_env λ pip show --files chardet Name: chardet Version: 3.0.4 Summary: Universal encoding detector for Python 2 and 3 Home-page: https://github.com/chardet/chardet Author: Daniel Blanchard Author-email: [email protected] License: LGPL Location: g:\div_code\my_env\lib\site-packages Requires: Required-by: requests Files: ..\..\Scripts\chardetect.exe chardet-3.0.4.dist-info\DESCRIPTION.rst chardet-3.0.4.dist-info\INSTALLER chardet-3.0.4.dist-info\METADATA chardet-3.0.4.dist-info\RECORD chardet-3.0.4.dist-info\WHEEL chardet-3.0.4.dist-info\entry_points.txt .....