DEVELOPERS.txt 909 Bytes
Newer Older
Reinout van Rees's avatar
Reinout van Rees committed
1 2 3 4 5 6 7 8 9 10 11
Developing buildout itself
**************************

When you're developing buildout itself, you need to know two things:

- Use a clean python *without* setuptools installed.  Otherwise many tests
  will find your already-installed setuptools, leading to test differences
  when setuptools' presence is explicitly tested.

- Don't bootstrap with ``python bootstrap/bootstrap.py`` but with ``python
  dev.py``.
12 13

For your convenience we provide a Makefile to build various Python versions
14 15
in subdirectories of the buildout checkout. To use these and run the tests
with them do::
16 17 18

    make PYTHON_VER=2.6 build
    make PYTHON_VER=2.6 test
19 20

    make PYTHON_VER=2.7 build
21
    make PYTHON_VER=2.7 test
22 23

    make PYTHON_VER=3.2 build
24
    make PYTHON_VER=3.2 test
25 26 27

The actual Python compilation is only done once and then re-used. So on
subsequent builds, only the development buildout itself needs to be redone.