Create setup.py files for a number of modules and scripts quickly
Easily create setup.py files for easy_install / setuptools
I’m too lazy to author setup.py files for installation of simple python modules and scripts, and setuptools/easy_install is very handy for installing scripts “properly” on both win32 and unix. Hence this script for creating a functional setup.py quickly. It’s perfectly usable for creating source and binary distributions as well.
Go to a directory with lots of python modules (no packages!).
If the directory name is /home/foo/bar, ‘bar’ will be used as the name of the distribution.
If a python module has ‘def main’ in it, it’s considered executable
Review the resulting ei_setup.py and run it, as instructed.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.