pyFileManager icon indicating copy to clipboard operation
pyFileManager copied to clipboard

(Suggestion) Specify Dependencies in requirements.txt

Open Descent098 opened this issue 5 years ago • 0 comments

For any additional packages that are needed it is best to use a requirements.txt file or a setup.py file.

At current state I would start with a requirements.txt that looks something like this:

requirements.txt

watchdog # Used to check for any changes in the folder

Doing so gives you a few advantages:

  1. It is a standard in the python community (most people use one or the other)
  2. If you change any dependencies you just change it in the file, but the steps stay the same ( using pip install -r requirements.txt or sudo pip3 install -r requirements.txt (linux/macos))
  3. If at some point you ever get into CI/CD, these are the standards they will look for

P.S don't forget to update your readme after the change

If you decide to use a setup.py file you can check out this template I made.

Descent098 avatar Jan 19 '21 22:01 Descent098