<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 28/04/2010 03:48, David Shieh wrote:
<blockquote
 cite="mid:o2kaa9ddb8f1004271948yd017909fs6763dc9c9e11941d@mail.gmail.com"
 type="cite">[snip....]<br>
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">setuptools is a complex,
horrible old beast and I wouldn't like to
guess at its IronPython compatibility. Shame MySQLdb depends on it for
an install - but MySQLdb almost certainly depends on C extensions
anyway. In the long run distutils2 will replace setuptools entirely
(for CPython the distribute package has *already* replaced it whilst
remaining compatible). The distutils2 guys are *very* open to input -
so 'someone' should run the tests with IronPython and report any
problems.<br>
    <br>
    </div>
  </blockquote>
  <div><font class="Apple-style-span" color="#ff0000">Yes, you're
right. MySQLdb does have some c files that need to be compiled. And I
don't think Windows got a good compile environment for this. This
bothers me to much. For CPython2.6, I have to find a binary package of
MySQLdb, but for IronPython, I can't find any binary.</font></div>
  </div>
</blockquote>
<br>
The Windows compile environment for Python C extensions is most easily
setup by having the correct version of Visual Studio installed.<br>
<br>
Packages for Python based on C extensions normally *don't work at all
in IronPython* - this is why you won't find binaries for IronPython for
C extensions...<br>
<br>
One way to use Python C extensions with IronPython is through Ironclad:
<br>
<br>
    <a class="moz-txt-link-freetext" href="http://www.resolversystems.com/products/ironclad/">http://www.resolversystems.com/products/ironclad/</a><br>
<br>
All the best,<br>
<br>
Michael Foord<br>
<blockquote
 cite="mid:o2kaa9ddb8f1004271948yd017909fs6763dc9c9e11941d@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div> </div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">distutils used to break
*after* installing a pure-Python package for
IronPython when it attempted to do byte-code compilation. This specific
problem is fixed in trunk but I don't know if it is fixed in the
version of distutils shipped with IronPython 2.6. This was the last
step - so the error was alarming but wouldn't stop the install.<br>
    <br>
    </div>
  </blockquote>
  <div><font class="Apple-style-span" color="#ff0000">I will try it
later. Dont have too much time for test now.</font></div>
  <div> </div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">All the best,<br>
    <br>
Michael Foord
    <div>
    <div class="h5"><br>
    <br>
On 27/04/2010 07:19, David Shieh wrote:
    </div>
    </div>
    <blockquote type="cite">
      <div>
      <div class="h5">Hi guys,
      <div><br>
      </div>
      <div>I don't whether somebody else asked this question, but I am
really confused about this.</div>
      <div>I have already installled IronPython2.6 and add it into my
system's path, so I can directly type ipy to start IronPython2.6.</div>
      <div>So I tried " ipy setup.py install" to install MySQLdb, but
it
give me an error said no module named setuptools. Then I download
setuptools and install it, it gave me an error:</div>
      <div>No module named pkg_resources.</div>
      <div><br>
      </div>
      <div>Why doesn't IronPython2.6 ship with a setuptools like
easy_install ?</div>
      <div>Now, I can't install any 3rd party package and don't know
how to
fix it.</div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>David</div>
      <div><br>
-- <br>
----------------------------------------------<br>
Attitude determines everything !<br>
----------------------------------------------<br>
      <br>
      <br>
      </div>
      </div>
      </div>
      <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.ironpython.com"
 target="_blank">Users@lists.ironpython.com</a>
<a moz-do-not-send="true"
 href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com"
 target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>
  </pre>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
<a moz-do-not-send="true" href="http://www.ironpythoninaction.com/"
 target="_blank">http://www.ironpythoninaction.com/</a>
<a moz-do-not-send="true" href="http://www.voidspace.org.uk/blog"
 target="_blank">http://www.voidspace.org.uk/blog</a>

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

    </pre>
    </div>
    <br>
_______________________________________________<br>
Users mailing list<br>
    <a moz-do-not-send="true" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
    <a moz-do-not-send="true"
 href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com"
 target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
----------------------------------------------<br>
Attitude determines everything !<br>
----------------------------------------------<br>
  <br>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.ironpythoninaction.com/">http://www.ironpythoninaction.com/</a>
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/blog">http://www.voidspace.org.uk/blog</a>

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

</pre>
</body>
</html>