~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: John Arbash Meinel
  • Date: 2007-07-15 14:33:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2620.
  • Revision ID: john@arbash-meinel.com-20070715143330-6ddg2ay25b4pxiu1
Try another form of comment

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
    have_pyrex = False
158
158
    # try to build the extension from the prior generated source.
159
159
    print
160
 
    print ("Pyrex not available, while bzr will build, "
161
 
           "you cannot modify the C extensions.")
 
160
    print ("The python package 'Pyrex' is not available."
 
161
           " If the .c files are available,")
 
162
    print ("they will be built,"
 
163
           " but modifying the .pyx files will not rebuild them.")
162
164
    from distutils.command.build_ext import build_ext
163
165
else:
164
166
    have_pyrex = True
166
168
command_classes['build_ext'] = build_ext
167
169
unavailable_files = []
168
170
 
 
171
 
169
172
def add_pyrex_extension(module_name, **kwargs):
170
173
    """Add a pyrex module to build.
171
174