From: Andy T. <an...@cr...> - 2001-09-09 23:20:38
|
Roman Suzi wrote: > On Sun, 9 Sep 2001, Andy Todd wrote: > > >>Roman Suzi wrote: >> >>>Hi! >>> >>>I've made setup.py and MANIFEST.in for the PythonCardPrototype. >>>(For now Kevin posted them as attachments) >>> >>And I've made some minor cosmetic changes and posted them into cvs. >>I've also had to include a README.txt in the root directory (distutils >>requires one apparently), but I just copied the one from the docs directory. >> > > Well. I've just got tar.gz with soource distribution. > > I noticed that MANIFEST file should not be there! Only MANIFEST.in > It is created as a result of setup.py. The presence of MANIFEST could > have some side effects on people who forgot to delete it > when switching to version. > I just checked the tar.gz and zip versions from http://pythoncard.sourceforge.net/dist and they only include the MANIFEST.in file. I'm not even sure we need this in a source distribution anyway as it is only used when creating the archive and is ignored when you unpack it and run 'python setup.py install'. But I'd be glad to hear your thoughts on the matter ... > So, the general advice is to run > > setup.py sdist Actually, I'm running 'python setup.py sdist --formats=gztar,zip' to get both source distributions. We don't want to exclude anyone here ;-) > > to get source distribution right. Distutils strip all CVS's and things > like that automatically, so it is OK to run them in the chkedout > directory. Which is what I have done. > > >>>Now (if Python 2.x is properly installed) it is possible to >>>make source and binary distros this way (in the root directory >>>of the source distro): >>> > > Sincerely yours, Roman Suzi > Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Shave my poodle!" |