On Tue, Feb 9, 2010 at 2:45 AM, <[email protected]> wrote: [..] > (where python is 2.7a2+). The output is a .tar.gz file but it includes > ".macosx-10.4-i386" in the filename and the tar file itself has more > structure and fewer files than I think it should have:
The macosx-10.4-i386 bit is normal since you are building a binary distribution. > > % tar tfz dist/lockfile-0.8.macosx-10.4-i386.tar.gz > ./ > ./Users/ > ./Users/skip/ > ./Users/skip/local/ > ./Users/skip/local/lib/ > ./Users/skip/local/lib/python2.7/ > ./Users/skip/local/lib/python2.7/site-packages/ > ./Users/skip/local/lib/python2.7/site-packages/lockfile-0.8-py2.7.egg-info > ./Users/skip/local/lib/python2.7/site-packages/lockfile.py > ./Users/skip/local/lib/python2.7/site-packages/lockfile.pyc That's a strange output, it should build a tree corresponding to the mac platform installation scheme, but here it seems to use a user tree. so is should be: ./Library/Frameworks/Python.framework/.... or ./usr/local/lib/python2.7/... depending on how you have installed Python; instead of ./Users/skip/... > > setup.py is simple: > > from distutils.core import setup > setup(name='lockfile', > ... bunch of kwd args elided ... > ) > > Where are the missing files? I'd need to see the full setup.py options. > How do I create a platform-independent distribution? By using the "sdist" command. bdist will compile and generate platform-specific distributions. Tarek -- Tarek Ziadé | http://ziade.org _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
