
Thanks! This is all great and useful info.
sdist = py files bdist* = py or pyc files
*Which* bdist_* switches have py files and which have pyc files?? Especially what do bdist_rpm and bdist have?
Chris
On Wed, Oct 01, 2003 at 10:05:08AM -0400, amk@amk.ca wrote:
On Tue, Sep 30, 2003 at 04:50:25PM -0700, seberino@spawar.navy.mil wrote:
- Will bdist_rpm install JUST pyc files (bytecode)??? Will sdist install JUST py (source) files??? What about installing source and bytecode?? (py and pyc)?? How do that and is THAT a good idea???
Binary distributions (bdist) means that C extensions are compiled and the user installing them doesn't need a C compiler. .py files are also installed, and may or may not be compiled into .pyc files, depending on the bdist format.
Source distributions require users to run "setup.py install" to install them, and if the package contains C extensions and the user doesn't have a C compiler, they'll be unable to install the package.
For packages consisting of only Python code, there's only a slight difference between source and binary distributions from the end user's point of view. C extensions make the difference greater; in particular, few Windows users will have a compiler.
--amk
Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- _______________________________________
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 _______________________________________