Distutils confusion - probably something simple

P

python newbie

Ok, I am struggling with this setup.py. My python script happens to use the
mxBase library, specifically the mx.DateTime package. That's the only "third
party" package I use. I've gone through Nutshell book and the distutils
docs, but am not getting the syntax probably..

I always get this at the end of the distutils command ( python setup.py
py2exe ):

The following modules appear to be missing <-- pasted directly
['mxDateTime.__version__']

( A menu1.exe file is in fact created though)

My setup.py is:
------------------------------------------
#!Python

from distutils.core import setup
import py2exe
setup(
console=["menu1.py"],
name="MyBackup",
version="1.0",
packages=['mx', 'mx.DateTime'],
py_modules=['menu1','OregonBackup','backup_config'],
data_files=[('.',['backup.xml','some.ini'])] )
------------------------------------------

( incidentally, menu1.py specified above is the py file that calls
everything else of course, but my OregonBackup.py file is what actually
contains: "import mx.DateTime" - I don't know if that actually matters)

I actually put all of my files directly into the
C:\Python23\Lib\site-packages folder, so that "mx" folder can be seen by
distutils.


Running on Win XP.

Thanks
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top