<div>
I can't speak for uploading to PyPI, but pip doesn't support distutils2 yet.
</div>
<div></div>
<p style="color: #A0A0A8;">On Sunday, May 27, 2012 at 11:19 AM, Todd DeLuca wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div>I recently failed to upload a project to pypi using distutils2 and failed to install the project using pip. Are distutils2 and pip not yet supporting 'setup.cfg' only projects yet?</div><div><br></div><div>The upload failed to upload the tarball to pypi because of what looks like a problem encoding a multipart form message with distutils2.util.encode_multipart(). I tried to fix that problem (using a base64 encoding) but ran into 500 http return code from the pypi server. The uploading code seems pretty 'alpha', so I was wondering if anyone is successfully using 'pysetup' to upload projects to pypi.</div>
<div><br></div><div>After failing to upload the distribtion, I uploaded it to github and then registered my project with a github download url. Then I tried installing my project using pip and that failed too, since I did not have a setup.py, only a setup.cfg, in the project.</div>
<div><br></div><div>I'm using python 2.7.3, pip 1.1, and distutils2 from <a href="http://hg.python.org/distutils2">hg.python.org/distutils2</a> (pulled and updated) on Mac OS X 10.6.8.</div><div><br></div><div><br></div>
<div>-- <br>Todd DeLuca<br><a href="http://todddeluca.com" target="_blank">http://todddeluca.com</a><br><div><a href="http://wall.hms.harvard.edu/" target="_blank">http://wall.hms.harvard.edu/</a></div><div><br></div><br>
</div>
</div><div><div>_______________________________________________</div><div>Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a></div><div><a href="http://mail.python.org/mailman/listinfo/distutils-sig">http://mail.python.org/mailman/listinfo/distutils-sig</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>