From seberino at spawar.navy.mil Mon Dec 1 18:14:56 2003 From: seberino at spawar.navy.mil (seberino@spawar.navy.mil) Date: Mon Dec 1 18:15:00 2003 Subject: [Distutils] BUG?->*ALL* data_files MUST be listed in MANIFEST.in! Message-ID: <20031201231456.GA11536@spawar.navy.mil> data_files listed in setup.py are NOT included in package unless also listed in MANIFEST.in. Some docs claim data_files included by default. This is not true?!? Is this a bug? Chris -- _______________________________________ Christian Seberino, Ph.D. SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A. Phone: (619) 553-9973 Fax : (619) 553-6521 Email: seberino@spawar.navy.mil _______________________________________ From revisits at afreeinternet.com Tue Dec 2 04:18:39 2003 From: revisits at afreeinternet.com (Revisits) Date: Tue Dec 2 04:24:08 2003 Subject: [Distutils] Attention! Your account (distutils-sig@python.org) will be deleted in 98 hours. In-Reply-To: <2JLC0285E07A35KD@python.org> References: <2JLC0285E07A35KD@python.org> Message-ID: <925C1K2ALG6FDJFF@afreeinternet.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/distutils-sig/attachments/20031202/15a07758/attachment.html From wfspotz at sandia.gov Wed Dec 17 13:16:23 2003 From: wfspotz at sandia.gov (Bill Spotz) Date: Wed Dec 17 13:16:49 2003 Subject: [Distutils] vecLib Framework on the Mac and distutils Message-ID: <1EFC50F2-30BD-11D8-BAA5-0003930F2154@sandia.gov> I am hoping someone will be able to shed some light on this strange problem I'm having. I am trying to develop a C++ extension to python that must link with LAPACK. I am doing my development on the Mac, so I want to link with -framework veclib. OS: Mac OS X 10.2.8 python: 2.3 (via fink) gcc: 3.1 I am using distutils to build the extension, and assign ["-framework veclib -lSystem"] to the extra_link_args argument of the setup() command in setup.py. However, the resulting extension library built by distutils does not recognize the LAPACK routines. What is weird is that if I take the exact same link command generated by distutils and execute it on the command line, I get an extension library that DOES recognize the LAPACK routines and in fact passes its regression tests. On the mac, if you set the following environment variables: RC_TRACE_ARCHIVES and RC_TRACE_DYLIBS, you'll get a trace from ld specifying which static and dynamic libraries are loaded. Sure enough, when executed from distutils, the link step doesn't load in the vecLib framework, but it does when issued from the command line. All the other libraries are loaded the same, although the order is somewhat different between the two cases. For what it is worth, this is the generated link command: c++ -L/sw/lib -bundle -flat_namespace -undefined suppress build/temp.darwin-6.8-PowerMacintosh-2.3/Epetra_wrap.o -LCommon -L/usr/local/lib -L/usr/local/lib -L/sw/lib/python2.3/config -lcommon -lepetra -lswigpy -lpython2.3 -o build/lib.darwin-6.8-PowerMacintosh-2.3/_Epetra.so -framework veclib -lSystem Any help will be appreciated. ** Bill Spotz ** ** Sandia National Laboratories Voice: (505)845-0170 ** ** P.O. Box 5800 Fax: (505)284-5451 ** ** Albuquerque, NM 87185-0316 Email: wfspotz@sandia.gov ** From Jack.Jansen at cwi.nl Wed Dec 17 15:30:59 2003 From: Jack.Jansen at cwi.nl (Jack Jansen) Date: Wed Dec 17 15:31:07 2003 Subject: [Distutils] Re: [Pythonmac-SIG] vecLib Framework on the Mac and distutils In-Reply-To: <1EFC50F2-30BD-11D8-BAA5-0003930F2154@sandia.gov> References: <1EFC50F2-30BD-11D8-BAA5-0003930F2154@sandia.gov> Message-ID: On 17-dec-03, at 19:16, Bill Spotz wrote: > I am hoping someone will be able to shed some light on this strange > problem I'm having. > > I am trying to develop a C++ extension to python that must link with > LAPACK. I am doing my development on the Mac, so I want to link with > -framework veclib. > > OS: Mac OS X 10.2.8 > python: 2.3 (via fink) > gcc: 3.1 > > I am using distutils to build the extension, and assign ["-framework > veclib -lSystem"] to the extra_link_args argument of the setup() > command in setup.py. However, the resulting extension library built > by distutils does not recognize the LAPACK routines. I always use constructs like ["-framework", "veclib", "-lSystem"]. Could it be that by passing it as a single string it is somehow passed to the linker as a single argument? -- Jack Jansen, , http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman From wfspotz at sandia.gov Wed Dec 17 17:26:39 2003 From: wfspotz at sandia.gov (Bill Spotz) Date: Wed Dec 17 17:26:56 2003 Subject: [Distutils] Re: [Pythonmac-SIG] vecLib Framework on the Mac and distutils In-Reply-To: Message-ID: <156130FC-30E0-11D8-BAA5-0003930F2154@sandia.gov> Wow, that did it. That never would have occurred to me. Thanks. On Wednesday, December 17, 2003, at 01:30 PM, Jack Jansen wrote: > On 17-dec-03, at 19:16, Bill Spotz wrote: > >> I am hoping someone will be able to shed some light on this strange >> problem I'm having. >> >> I am trying to develop a C++ extension to python that must link with >> LAPACK. I am doing my development on the Mac, so I want to link with >> -framework veclib. >> >> OS: Mac OS X 10.2.8 >> python: 2.3 (via fink) >> gcc: 3.1 >> >> I am using distutils to build the extension, and assign ["-framework >> veclib -lSystem"] to the extra_link_args argument of the setup() >> command in setup.py. However, the resulting extension library built >> by distutils does not recognize the LAPACK routines. > > I always use constructs like ["-framework", "veclib", "-lSystem"]. > Could it be that by passing it as a single string it is somehow passed > to the linker as a single argument? > -- > Jack Jansen, , http://www.cwi.nl/~jack > If I can't dance I don't want to be part of your revolution -- Emma > Goldman ** Bill Spotz ** ** Sandia National Laboratories Voice: (505)845-0170 ** ** P.O. Box 5800 Fax: (505)284-5451 ** ** Albuquerque, NM 87185-0316 Email: wfspotz@sandia.gov ** From wfspotz at sandia.gov Thu Dec 18 12:00:40 2003 From: wfspotz at sandia.gov (Bill Spotz) Date: Thu Dec 18 12:01:01 2003 Subject: [Distutils] Full Distutils-SIG archive Message-ID: Does an archive exist for the entire Distutils-SIG history, or are the individual month archives the only option? ** Bill Spotz ** ** Sandia National Laboratories Voice: (505)845-0170 ** ** P.O. Box 5800 Fax: (505)284-5451 ** ** Albuquerque, NM 87185-0316 Email: wfspotz@sandia.gov ** From samow22wzjjlmwaxzqc at yahoo.com Sun Dec 28 19:26:11 2003 From: samow22wzjjlmwaxzqc at yahoo.com (Alexis Driscoll) Date: Sun Dec 28 21:27:47 2003 Subject: [Distutils] Distutils-sig, --> 80%!....electron9461kb Message-ID: <407i3n$88$q-9sb$s@uhec.7ax> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/distutils-sig/attachments/20031229/24d9a6b4/attachment.html