#17 Rewritten setup.py file.

closed-accepted
nobody
None
5
2005-08-31
2005-03-18
No

This is a completely rewritten setup.py file that
should fix bugs #1094871, #968726 and #920966.

The root cause for these bugs is some hardcoded paths
for the pychecker script. Basically, because the path
is hardcoded, setup.py doesn't obey --prefix, --home,
etc. I fixed this by rewriting setup.py to use some
customized distutils action classes.

I've tested the new script on Debian with Python 2.1,
2.2, 2.3 and 2.4. It seems to work as expected.
Unfortunately, I don't have a good way to test right
now on Windows, but it's all pretty standard and should
work properly there as well.

Discussion

  • Kenneth J. Pronovici

    setup.py

     
  • Kenneth J. Pronovici

    Logged In: YES
    user_id=1168720

    Note that there is another patch, #1033840, which attempts
    to fix the same problem. I hadn't initially noticed this
    because it wasn't mentioned in any of the bugs (that I saw,
    anyway). Both of us used disutils customizations to fix the
    bug, but I rewrote more of the script (I also use a
    distutils customization to install the data files).

     
  • Neal Norwitz

    Neal Norwitz - 2005-08-31
    • status: open --> closed-accepted
     

Log in to post a comment.