Create a requirements.txt
File
#2
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Potlatch-Loggers/ComputerKeeper#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Python's package manager (
pip
) allows some scripting functionality, you can callpip
using a plain-text-file with a list of the dependencies your project needs.Say, for example, your project needs the following:
You could create a
requirements.txt
file that contains the following:Then, from the terminal (Windows command-prompt), you could use the command:
to install each of those dependencies... auto-✨-magically!
Our project will need (at a bare minimum)
PySimpleGUI
, andTinyDB
which both have install instructions right on their PyPI page(s):so... our project should include a
requirements.txt
file with the name of the PySimpleGUI package; which is everything after the "pip install." 👍