Reputation: 95
By accident I created a local python package with the same name as an existing PYPI package (pyea).Now I realised that by updating all installed packages my package will be overwritten by a newer version from PYPI-Server. Can I give my local package a flag or so, to prevent from updating using PYPI-Server? Or there are maybe some parameters for the setup.py file to control this issue.
Renaming the package would require a lot of effort.
Upvotes: 1
Views: 228
Reputation: 1856
It is best practice to avoid using names of packages that already exist. While renaming might be a lot of effort, it's your best option to avoid any future hassle.
It'll be a short term pain for a long term gain.
Upvotes: 1