pip install dependencies from setup py

preview_player
Показать описание
Replace 'your_project_name', 'dependency1', 'dependency2', etc., with your actual project name and dependencies.
Run the following command to install the project in editable mode (-e). This allows changes to the source code to take effect immediately without the need for reinstalling:
The dot (.) at the end specifies the current directory.
After the installation is complete, you can verify that the dependencies are installed correctly. You can do this by checking the installed packages using:
You should see your project listed among the installed packages along with its dependencies.
Here's an example of a simple Python project structure:
In this example, mymodule is the main module of your project. The tests directory contains unit tests for your module.
Рекомендации по теме