Open DaniBodor opened 1 week ago
You can add the dependencies in pyproject.toml: https://github.com/snorben/EEG_preprocessing_UMCU/blob/4659e00de333096af4af3926493c15835d28522a/pyproject.toml#L27.
Anything where you would otherwise state pip install <dependency>
, you can add here between double quotation marks. This includes specific versions (use google or chatgpt to find out the exact formatting). You can also check this example of what it may look like: https://github.com/EIT-ALIVE/eitprocessing/blob/main/pyproject.toml
Poetry mainly is useful when you have many dependencies and/or are bound to very specific versions of each dependency. Otherwise it is still nice if you are interested in looking into it, but might be a bit of overkill for your project.
In the pyproject.init file, it would be good to add the required dependencies. This lists all external packages needed to run the current package, allowing other developers/users to install everything in one go.
Alternatively, poetry can be used to handle dependencies