http://bugs.async.com.br/show_bug.cgi?id=3781

           Summary: dist module overwrites custom cmdclass entries
           Product: Kiwi
           Version: SVN trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: (unset)
          Priority: (unset)
         Component: Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
   Estimated Hours: 0.0


While porting LottaNZB to the Kiwi framework, I stumbled upon this rather
annoying bug in dist.py:

    kwargs['cmdclass'] = dict(install_data=InstallData,
                              install_lib=InstallLib)

This will overwrite any custom cmdclass set in setup.py. What about replacing
these two lines of code with something like this:

    cmdclass = dict(install_data=InstallData, install_lib=InstallLib)

    try:
        kwargs['cmdclass'].update(cmdclass)
    except:
        kwargs['cmdclass'] = cmdclass

In the meanwhile, what do you recommend me to do to have custom setup.py
commands and still make use of dist.py's functionality?


-- 
Configure bugmail: http://bugs.async.com.br/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Kiwi mailing list
[email protected]
http://www.async.com.br/mailman/listinfo/kiwi

Reply via email to