use of setup.py
While communicating about making TeXML distribution archives, I've got examples of powerful use of "setup.py".
Using "setup.py" is a standard Pythonic way to install Python packages. Here is a bit of documentation: "distutils -- Building and installing Python modules".
And the new knowledge I've got is the commands
python setup.py bdist_rpm python setup.py sdist --formats zip,gztar
The former command should create a RPM archive, and the latter -- zip and tar.gz archives.
I think there are more powerful uses of "setup.py".
But at the moment I have a problem. Copying files to archives is not enough. I need also some modifications made on the fly. Hope it is possible.