Here is feature request: http://bugs.python.org/issue7562
2009/12/22 Tarek Ziadé <[email protected]>: > On Tue, Dec 22, 2009 at 10:49 AM, Jari Pennanen <[email protected]> > wrote: >> Well, if that is so, I will paste my workaround for the sake of >> completeness if other people come here to wonder: >> >> #!/usr/bin/env python >> from distutils.core import setup, Extension >> from distutils.command.build_py import build_py >> >> dist = setup(...) >> >> # Rerun the build_py to ensure that swig generated py files are also copied >> build_py = build_py(dist) >> build_py.ensure_finalized() >> build_py.run() >> >> Btw, this could be mentioned in >> http://docs.python.org/distutils/setupscript.html since SWIG is rather >> common tool... it took me a notable time to figure this out. > > Having an option to define explicitely a custom order for the > subcommands for the build command in setup.py sounds like a feature we > could add. > > Please add an issue in bugs.python.org, I'll add Marc-André in cc. > there and we can investigate in this, > > Regards > Tarek > -- Tmi: Jari Pennanen Y-tunnus: 1867270-2 Puh: 050 4911400 _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
