Hi I am using setuptools to upload a package but this fails. Below is some of the code. It also fails via the web interface ("The connection was reset. The connection to the server was reset while the page was loading"). Here's the setup command, which did work with a smaller source distribution of about 13 Mb. Is there a maximum size? Can I also simply provide a link to my bitbucket page via setup(..... download_url....)?
sudo python setup.py register -r https://testpypi.python.org/pypi sdist --formats=gztar upload -r https://testpypi.python.org/pypi
Registering savReaderWriter to https://testpypi.python.org/pypi
Server response (200): OK
copying setup.cfg -> savReaderWriter-3.1.1
Creating tar archive
removing 'savReaderWriter-3.1.1' (and everything under it)
Submitting dist/savReaderWriter-3.1.1.tar.gz to https://testpypi.python.org/pypi