DEV Community

Discussion on: 3 Things I Wish I Knew Before Publishing My First Python Package on PyPi

Collapse
 
renegadecoder94 profile image
Jeremy Grifski • Edited

This is great! I really identify with that third issue. I've been maintaining my own script on PyPI, and I've found the following command helpful:

pip install --no-cache-dir --upgrade <package>

Apparently, pip caches the project page after an install for a bit, so if you need to update the package shortly afterwards, you'll find that you may have to wait up to 10 minutes. This command should eliminate that issue.

Of course, I'm not an expert on this, so here are some sources where I pieced this knowledge together:

Collapse
 
mithil467 profile image
Mithil Poojary

Oh. Makes sense. I'll try that for the next version. Thank you! <3