Create a requirements.txt File #2

Closed
opened 2022-08-19 00:53:28 +00:00 by engineerjoe440 · 0 comments

Python's package manager (pip) allows some scripting functionality, you can call pip using a plain-text-file with a list of the dependencies your project needs.

Say, for example, your project needs the following:

  • joshs-package
  • joes-package
  • anotherCoolProject

You could create a requirements.txt file that contains the following:

joshs-package
joes-package
anotherCoolProject

Then, from the terminal (Windows command-prompt), you could use the command:

$> pip install -r requirements.txt

to install each of those dependencies... auto--magically!


Our project will need (at a bare minimum) PySimpleGUI, and TinyDB which both have install instructions right on their PyPI page(s):

image

so... our project should include a requirements.txt file with the name of the PySimpleGUI package; which is everything after the "pip install." 👍

Python's package manager (`pip`) allows some scripting functionality, you can call `pip` using a plain-text-file with a list of the dependencies your project needs. Say, for example, your project needs the following: * joshs-package * joes-package * anotherCoolProject You could create a `requirements.txt` file that contains the following: ``` joshs-package joes-package anotherCoolProject ``` Then, from the terminal (Windows command-prompt), you could use the command: ```shell $> pip install -r requirements.txt ``` to install each of those dependencies... auto-✨-magically! --- Our project will need (at a bare minimum) [`PySimpleGUI`](https://pypi.org/project/PySimpleGUI/), and [`TinyDB`](https://pypi.org/project/tinydb/) which both have install instructions right on their PyPI page(s): ![image](/attachments/d7d936e3-2509-44d3-97e7-81a97b8a6ebe) so... our project should include a `requirements.txt` file with the name of the PySimpleGUI package; which is everything after the "pip install." 👍
engineerjoe440 added the
core
enhancement
labels 2022-08-19 00:56:31 +00:00
engineerjoe440 added this to the Initial Prototype milestone 2022-08-19 00:56:35 +00:00
joshb was assigned by engineerjoe440 2022-08-19 00:56:39 +00:00
joshb closed this issue 2022-08-19 01:56:54 +00:00
Sign in to join this conversation.
No description provided.