|
Revision 1010, 469 bytes
(checked in by dokai, 2 years ago)
|
|
Updated the buildout to match the changes in the spatialindex source tree.
|
| Line | |
|---|
| 1 | import os |
|---|
| 2 | import logging |
|---|
| 3 | |
|---|
| 4 | log = logging.getLogger('spatialindex') |
|---|
| 5 | |
|---|
| 6 | def preconfigure(options, buildout): |
|---|
| 7 | """Generate the configure script if necessary.""" |
|---|
| 8 | configure = os.path.join(options['compile-directory'], 'configure') |
|---|
| 9 | if not os.path.exists(configure): |
|---|
| 10 | log.info('Creating configure script') |
|---|
| 11 | os.system('cd %s && automake --add-missing' % options['compile-directory']) |
|---|
| 12 | os.system('cd %s && autoconf' % options['compile-directory']) |
|---|
| 13 | |
|---|