path problem with "setup.py bdist"

Humpdydum oliver.schoenborn at utoronto.ca
Wed Nov 3 11:36:23 EST 2004


When I run

  python setup.py bdist --format=zip

on Windows 2000, with this setup.py:

  from distutils.core import setup
  setup(name="test",
        version="1.0",
        description="blabla",
        author="foo",
        author_email="bar",
        url="no url",
        packages=['scmLib.AppDoc', 'scmLib.DDE'],
        py_modules=['scmLib.version'],
        scripts = ['scmRun.py', 'scmRun.pyw']
       )

the zip file has complete path to the files, e.g. (copied from output of
setup.py):
  ...
  adding 'My Documents\Python23\Lib\site-packages\scmLib\version.py'
  adding 'My Documents\Python23\Lib\site-packages\scmLib\version.pyc'
  adding 'My Documents\Python23\Lib\site-packages\scmLib\__init__.py'
  adding 'My Documents\Python23\Lib\site-packages\scmLib\__init__.pyc'
  adding 'My Documents\Python23\Lib\site-packages\scmLib\AppDoc\CadEdf.py'
  adding 'My Documents\Python23\Lib\site-packages\scmLib\AppDoc\CadEdf.pyc'
  adding 'My
Documents\Python23\Lib\site-packages\scmLib\AppDoc\SeatSystem.py'
  adding 'My
Documents\Python23\Lib\site-packages\scmLib\AppDoc\SeatSystem.pyc'
  ...
If I open the zip file this is confirmed. I figure I must be doing something
wrong but what?
Oliver





More information about the Python-list mailing list