MulaiMulai sekarang secara gratis

User dependencies

Inside any package you develop, you will probably use other packages. This stops you having to rewrite code which has already been optimized for speed and ease of use, like NumPy.

The users of your package will need to have these other packages installed, and have one of the correct versions. If they don't, then your package won't actually work.

In this exercise, you will modify the setup.py file so that these packages are installed when your package is installed using pip.

Latihan ini adalah bagian dari kursus

Developing Python Packages

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga