David Wolever
2008-06-23 02:26:33 UTC
It turns out that making everything work with setuptools is very,
very easy.
All it took was moving setup.py.in to setup.py, changing the import
from 'distutils' to 'setuptools', and one or two other little things
(which you can see if you `diff setup.py{,.in}`)
I'm having some trouble getting the patch for this to apply properly,
so I've attached the new setup.py, and these complex instructions:
0) Save setup.py in the ditrack root
1) Remove setup.py.in and make-dist.py
I don't know how familiar you are with setuptools (please ignore this
if you are), but basically there are three important commands:
setup.py install (install the package)
setup.py develop (install the package in develop mode, where all the
system-wide scripts (eg, $PATH/dt-create, $PYTHON_PATH/DITrack) are
small stubs which point to the real scripts in your development
directory)
setup.py sdist (should do exactly the same thing as the make-dist.py)
David
very easy.
All it took was moving setup.py.in to setup.py, changing the import
from 'distutils' to 'setuptools', and one or two other little things
(which you can see if you `diff setup.py{,.in}`)
I'm having some trouble getting the patch for this to apply properly,
so I've attached the new setup.py, and these complex instructions:
0) Save setup.py in the ditrack root
1) Remove setup.py.in and make-dist.py
I don't know how familiar you are with setuptools (please ignore this
if you are), but basically there are three important commands:
setup.py install (install the package)
setup.py develop (install the package in develop mode, where all the
system-wide scripts (eg, $PATH/dt-create, $PYTHON_PATH/DITrack) are
small stubs which point to the real scripts in your development
directory)
setup.py sdist (should do exactly the same thing as the make-dist.py)
David