Re: distutils: package data

2005-03-30 Thread David Fraser
Qiangning Hong wrote: I am writing a setup.py for my package. I have a pre-compiled myextmod.pyd file in my package and I want the distutils to automatically copy it to C:\Python23\Lib\site-packages\mypackage\myextmod.pyd. I try to add the following parameter to setup(): data_file = [('mypackag

Re: distutils: package data

2005-03-30 Thread Serge Orlov
Qiangning Hong wrote: > ehh.. I did a little more reading and found that this function can > be easily done by the new distutils parameter "package_data" in 2.4. > > However, I am using python2.3 :( > > So, my question becomes: how to emulate the package_data function in > python 2.3? There is di

Re: distutils: package data

2005-03-30 Thread Qiangning Hong
ehh.. I did a little more reading and found that this function can be easily done by the new distutils parameter "package_data" in 2.4. However, I am using python2.3 :( So, my question becomes: how to emulate the package_data function in python 2.3? -- http://mail.python.org/mailman/listinfo/p

distutils: package data

2005-03-29 Thread Qiangning Hong
I am writing a setup.py for my package. I have a pre-compiled myextmod.pyd file in my package and I want the distutils to automatically copy it to C:\Python23\Lib\site-packages\mypackage\myextmod.pyd. I try to add the following parameter to setup(): data_file = [('mypackage', ['mypackage/myex