[Ironpython-users] issue with distribute_setup.py
jdhardy at gmail.com
Wed Jul 17 17:02:11 CEST 2013
I think the only way is to modify the setup script to pass -X:Frames for
IronPython. Also, I believe distribute is deprecated in favour of renewing
work on setuptools, so you might be better off looking at the latest
version of it instead.
On Mon, Jul 15, 2013 at 8:43 PM, Daniel Fernandez <
fernandez_dan2 at hotmail.com> wrote:
> Hi All,
> I ran into an issue trying to execute dsitribute_setup.py. I used both the
> -X:Frames and -X:FullFrames but I am getting an error message sys module
> does not contain '_getframe'. Here is the output
> c:\Users\Daniel\Downloads>c:\IronPython27\ipy.exe -X:Frames
> Extracting in c:\users\daniel\appdata\local\temp\tmpje5fjs
> Now working in
> Installing Distribute
> Before install bootstrap.
> Scanning installed packages
> No setuptools distribution found
> running install
> Traceback (most recent call last):
> File "setup.py", line 147, in <module>
> File "c:\IronPython27\Lib\distutils\core.py", line 151, in setup
> File "c:\IronPython27\Lib\distutils\dist.py", line 952, in run_commands
> File "c:\IronPython27\Lib\distutils\dist.py", line 971, in run_command
> line 63, in
> AttributeError: 'module' object has no attribute '_getframe' Something
> went wrong during the installation.
> See the error message above.
> I thought passing -X:Frames (which I do almost all the time) as an
> argument would enable sys module to have sys._getframe?
> I tracked in the distribute_setup.py where the issue is occurring. It is
> happening in the _python_cmd function
> def _python_cmd(*args):
> args = (sys.executable,) + args
> return subprocess.call(args) == 0
> I don't think the -X:Frames is being passed along to the subprocess? I'm
> not sure to handle this without changing the script?
> Ironpython-users mailing list
> Ironpython-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users