odd behavior!
Nick Perkins
nperkins7 at home.com
Mon Jul 2 02:35:58 EDT 2001
..not sure, but this might help:
at every place where you import a file that may have changed, throw in a
reload..
ie.
import my_mod
reload(my_mod)
imported modules are not automatically re-loaded when their source files are
changed.
you can also reload from the prompt:
>>> reload(..)
..maybe there is a recipe somewhere for an automitic importer that detects
modified files...
"Ben Wolfson" <rumjuggler at cryptarchy.org> wrote in message
news:6rvvjtoe2f4p8i18rva42guei44f10fp4j at 4ax.com...
>
> This looks like output from an attempt to use the Distutils to create a
> source distribution, yes?
>
> C:\Python21>python setup.py sdist
> running sdist
> warning: sdist: missing required meta-data: url
> warning: sdist: manifest template 'MANIFEST.in' does not exist (using
> default file list)
> error: package directory 'newrecshite\registry' does not exist
>
> However, setup.py actually consists of this:
>
> '''
> print 'hi'
> '''
>
> It *used* to contain an import of setup from distutils.core, and called it
> in a sufficiently ill-formed way to produce the above output, but even
> after I changed it, it still produced that output. In fact, I just ran
the
> same command line with a blank file and got the same thing. I've been
> having similar problems with other scripts--changing them doesn't actually
> change the behavior of the interpreter in any way. Deleting .pycs hasn't
> helped. Any advice?
>
> --
> Barnabas T. Rumjuggler
> Yet when he came down from the mountain, he had not gained any wisdom.
> In no way had he been able to solve the riddle of this story. And he had
> lost his faith. But he had discovered that he had an affinity for
> Dixieland music. -- Joe Frank, "The Road to Calvary"
More information about the Python-list
mailing list