On Tue, 4 May 2004, Flavio Codeco Coelho wrote: Maybe it should say scripts = ["PyMB.py"], instead of: scripts = ["PyMB"], unless you really have a file called PyMB with no filename extension.
> 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@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 > > > ________________________________________________________________________ >
|