Pypirc file ignored

I have a file .pypirc in the root of my lib_name folder of this format:

[pypi]
username = user
password = pass

However, it seems to be ignored when I do make release, in that I still have to enter username and password in terminal manully.

Anyone know why this is?

I am assuming you are using Windows. You are actually supposed to put that file in the C:\Users\XYZ over here. The ~ sign refers to the home directory of the system and not the library.