How to install setproctitle for Python 3

Spain, Dr. Jeffry A. spainj at countryday.net
Sat May 19 20:20:32 UTC 2012


I'd like to try out setproctitle with bind10, and would like to ask for some help with the installation process. What I have determined so far is:

1. The source code for setproctitle is available from http://pypi.python.org/pypi/setproctitle
2. When Python 3 is installed from source has to have "--enable-shared" specified as an argument to "configure".
3. There is a Makefile in setproctitle-1.1.6/ that has to be edited to read: 
     # Customize these to select the Python to build/test
     PYTHON ?= python3
     PYCONFIG ?= python3-config
     PY2TO3 ?= 2to3
4. Executing make at this point builds and tests the setproctitle code with no errors.

Beyond this it isn't clear to me how to install this module as a permanent component of Python 3. The setproctitle documentation refers to a tool called "distribute", which is said to be a replacement for "easy_install", but doesn't specify how to use it. "easy_install" itself seems to apply to Python 2.

Thanks for your advice about how to proceed. Unfortunately my facility with Python is limited at this point.

Jeffry A. Spain
Network Administrator
Cincinnati Country Day School



More information about the bind10-users mailing list