Python Forum
listing file that pip installs upgrades
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
listing file that pip installs upgrades
#1
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?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
Can use --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.
We se a relative path ..\..\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
  .....
Larz60+ and Skaperen like this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  scipy looks like it installs, but does not Skaperen 6 874 Jan-22-2024, 06:26 AM
Last Post: Skaperen
  Python to exe-Does it do Pip installs? Extra 1 1,044 May-12-2022, 09:27 PM
Last Post: snippsat
  Why isnt this working? pip installs not working with cmd prompt? ejected 2 3,150 Apr-02-2019, 08:48 PM
Last Post: snippsat
  A pretty good Book listing snippsat 4 5,226 Nov-08-2016, 11:05 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020