path problem with "setup.py bdist"

H

Humpdydum

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
 

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,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top