Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Suggestion) Specify Dependencies in requirements.txt #1

Open
Descent098 opened this issue Jan 19, 2021 · 0 comments
Open

(Suggestion) Specify Dependencies in requirements.txt #1

Descent098 opened this issue Jan 19, 2021 · 0 comments

Comments

@Descent098
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant