Your mail to 'xml' with the subject
Re: Re: Thanks!
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
Either the message will get posted to the list, or you will receive
notification of the moderator's decision.
Your mail to 'xslt' with the subject
Re: Your text
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
Either the message will get posted to the list, or you will receive
notification of the moderator's decision.
Your mail to 'xml' with the subject
Re: Sex pictures
Is being held until the list moderator can review it for approval.
The reason it is being held:
SpamAssassin thinks there may be spam in this message.
Either the message will get posted to the list, or you will receive
notification of the moderator's decision.
Hi,
I am trying to get my first setup.py to work and I have written the
following setup.py. It's for a pure python application.
# -*- coding:iso8859-1 -*-
from distutils.core import setup
setup(name = 'ModelBuilder',
version = '0.2.2',
description = 'ODE model builder and simulator',
author = 'Flávio Codeço Coelho',
author_email = 'fccoelho(a)fiocruz.br',
url = 'http://www.procc.fiocruz.br/~cursos/course/view.php?id=6',
download_url = 'http://savannah.nongnu.org/projects.modelbuilder',
scripts = ["PyMB"],
py_modules = ["PyMB","wxFrame1","wxFrame2","about","uncertaintyMiniFrame", 'PlotFigure'],
data_files = [('bitmaps',['backup_section.png','mathematics_section.png','graphics_section.png',
'spreadsheet_section.png','timemanagement_section.png']),('models',['3eqs.ode','HH.ode', 'pk.ode','pk_unc.spec']),
('doc',['README','COPYING']),('html',['ModelBuilder_About.html'])],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: X11 Applications',
'Intended Audience :: End Users/Desktop',
'License :: GPL2',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Mathematics',
],
)
I also wrote a MANIFEST.in to make sure all the files got included in
the source distribution, and it works fine to create a source tarball.
The problem is that when I try to run
python setup.py install
it gives the following error message.
error: file 'PyMB' does not exist
What am I missing?
Flávio Codeço Coelho,
PhD
Programa de Computação
Científica
Fundação Oswaldo Cruz
Rio de Janeiro -- Brasil
________________________________________________________________________
Interesting problem: sometimes you want to build extensions with a newer
version of the compiler than the python interpreter was built with.
Sometimes you want to be smarter than the machine, so it would be very handy
to have some manual override in msvccompiler.py, in get_build_version(),
perhaps something like:
if os.environ.has_key('MSVC_VERSION'):
return float(os.environ['MSVC_VERSION'])
This allows you as the smart developer to force the compilation of the
extension to use whatever compiler version you set your environment to; if
you don't set it, the system does what it does now.
Thoughts?
-Ivan