From: Andy T. <an...@cr...> - 2001-09-09 08:46:25
|
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. > > 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): > > python setup.py sdist > python setup.py bdist_rpm > python setup.py bdist_wininst > python setup.py bdist --format=zip We don't need to bdist (yet) as we have no binary (i.e. needing some sort of compilation step) components in PythonCard. I have created two source distributions, one for Windows and one for *nix. Before making them the 'official' releases for the project I've posted them on the web site for initial testing by the subscribers to this list. You can get the source distributions at http://pythoncard.sourceforge.net/dist/ To install from one of these distributions; - Copy the appropriate file to your machine - Unpack it to a temporary directory (using WinZip on Windows or "tar -xzf PythonCardPrototype-0.4.4.5.tar.gz" on *nix) - This will create a directory called "PythonCardPrototype-0.4.4.5", cd to that directory, then; - Run the standard distutils install command ("python setup.py install") - The framework code will then be installed as a module in your Python set up (in the directory $PYTHON_HOME/PythonCardPrototype) - The sample applications will be installed in a PythonCard directory in the share directory under your Python Home. - Finally, you can remove the working directory you created by unpacking the distribution above. > > > Right now, Distutil support is not full: setup.cfg with meta-information > fields specific to different binary distribution methods is missing. > As I said, we don't need this yet so we have a complete set up. If we ever get to the stage of performing some come of compile step at least Roman has an idea of what we need to do. I will post the steps to created these distributions tomorrow, for those who want to act as release managers when we cut a new version. In the meantime, if these distributions are OK perhaps someone could post them to the file release system on SourceForge. > > > Sincerely yours, Roman A.Suzi > As ever, any and all feedback is welcome. Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Shave my poodle!" |