[Distutils] greetings, first email...

Rob Healey robhealey1 at gmail.com
Fri Mar 23 08:17:22 CET 2012


Greetings:

This is my introductory email in writing for the first time!

Of course, I am very new to DistUtils and creating my first setup.py file.
I have a helper in creating this first setup.py file, but he only knows
more than I do...

We are stuck on this problem, and I was hoping to see if we could get some
help???  Here is what is happening:

[Frog at PouncingAliens geps0065]$ python setup.py sdist
running sdist
running check
Merging translations into data/gramps.desktop.
Merging translations into data/gramps.xml.
CREATED data/gramps.xml
Merging translations into data/gramps.keys.
CREATED ./data/gramps.keys
Traceback (most recent call last):
  File "setup.py", line 487, in <module>
    main()
  File "setup.py", line 483, in main
    'uninstall': GrampsUninstall}
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.7/distutils/command/sdist.py", line 160, in run
    self.get_file_list()
  File "/usr/lib64/python2.7/distutils/command/sdist.py", line 200, in
get_file_list
    self.add_defaults()
  File "/usr/lib64/python2.7/distutils/command/sdist.py", line 256, in
add_defaults
    build_py = self.get_finalized_command('build_py')
  File "/usr/lib64/python2.7/distutils/cmd.py", line 312, in
get_finalized_command
    cmd_obj.ensure_finalized()
  File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in
ensure_finalized
    self.finalize_options()
  File "/usr/lib64/python2.7/distutils/command/build_py.py", line 46, in
finalize_options
    ('force', 'force'))
  File "/usr/lib64/python2.7/distutils/cmd.py", line 302, in
set_undefined_options
    getattr(src_cmd_obj, src_option))
  File "/usr/lib64/python2.7/distutils/cmd.py", line 105, in __getattr__
    raise AttributeError, attr
AttributeError: build_lib

Could you please explain what this build_lib problem comes from and what I
might need to get over it?

-- 
Sincerely yours,
Rob G. Healey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20120323/0ba645bc/attachment.html>


More information about the Distutils-SIG mailing list