![](https://secure.gravatar.com/avatar/d7add4b3ea3352a37021f5cd1f39f79b.jpg?s=120&d=mm&r=g)
I have encoutered a strange problem with distutils on Win2k,WinXP using python 2.2.2. When I run 'python setup.py install' the file 'data.txt' is copied as expected to: C:\Python22\Lib\site-packages\PyTest\data.txt When I run 'python setup.py bdist_wininst' and select default on all options during installation the file 'data.txt' is copied to: C:\Python22\python22\Lib\site-packages\PyTest\data.txt ++++++++++++++++++ I guess this is a bug. Best regards, Jens B. Helmers #Begin setup.py-------------------------------------------------- import os from distutils.core import setup from distutils import sysconfig package = "PyTest" files = ['data.txt'] install_dir = os.path.join( sysconfig.get_python_lib(), package ) setup(name = package, packages = [ package ], data_files = [ (install_dir, files) ] ) #End setup.py---------------------------------------------------- ********************************************************************** Neither the confidentiality nor the integrity of this message can be guaranteed following transmission on the Internet. This message has been swept by MAILsweeper at DNV for the presence of computer viruses. **********************************************************************
participants (1)
-
Jens.Bloch.Helmers@dnv.com