greetings, first email...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

greetings, first email...

Rob Healey
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@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



_______________________________________________
Distutils-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/distutils-sig
Reply | Threaded
Open this post in threaded view
|

Re: greetings, first email...

Éric Araujo
Howdy Rob,

I was going through my backlog and noticed this email was unanswered.

> [Frog@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

Is the setup.py file visible somewhere?  I would need to read the source
for your custom command.

Regards
_______________________________________________
Distutils-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/distutils-sig
Reply | Threaded
Open this post in threaded view
|

Re: greetings, first email...

Rob Healey
Dear Eric:

I am happy to say that you may disregard this email as it no longer applies!

Sincerely yours,
Rob G. Healey


On Tue, Apr 17, 2012 at 10:31 AM, Éric Araujo <[hidden email]> wrote:

> Howdy Rob,
>
> I was going through my backlog and noticed this email was unanswered.
>
>> [Frog@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
>
>
> Is the setup.py file visible somewhere?  I would need to read the source for
> your custom command.
>
> Regards
> _______________________________________________
> Distutils-SIG maillist  -  [hidden email]
> http://mail.python.org/mailman/listinfo/distutils-sig



--
Sincerely yours,
Rob G. Healey
_______________________________________________
Distutils-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/distutils-sig