On 25.05.2006 15:32, Mark Hammond wrote:
> I'm open to patches that meet this compromise...

I am just thinking aloud...

  mkdir win32
  echo '__version__="209"' > win32/__init__.py
  echo 'File win32/__init__.py contains the version number' \
       > pywin32.version.txt

Afterwards it isn't even necessary afaics to add to each __init__.py a
line "from win32 import __version__". I'd rather consider moving most
win32xxx packages to win32.xxx. For backward compatibility you would
need a win32xxx package that does something like "from win32.xxx import
*" (this wouldn't work in fact, but maybe there is a solution for this).

Because the reason why you have a problem with versioning at all is that
you have no top-level module. (Again, I am just thinking aloud.)

Luc
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to