source: TI12-security/trunk/python/Makefile @ 2391

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Makefile@2556
Revision 2391, 621 bytes checked in by pjkersha, 13 years ago (diff)

security/python/Makefile: added -f flag to rm call in clean target

security/python/ndg-security-install.py:

  • converted into a class
  • added command line options to specify twisted download and dependency links URIs
  • call easy_install from main() function call instead of making an OS system call
  • using tarfile module for twisted install instead of system call to tar
Line 
1#
2# NERC Data Grid Project
3#
4# @author P J Kershaw 15/03/07
5#
6# Make all eggs
7#
8# @copyright (C) 2007 CCLRC & NERC
9#
10# @license This software may be distributed under the terms of the Q Public
11# License, version 1.0 or later.
12#
13# $Id:$
14EGG_DIRS=ndg.security.common ndg.security.client ndg.security.server ndg.security.test .
15
16# Override on the command line for alternative path
17PYTHON=/usr/bin/python
18
19eggs:
20        @-for dir in ${EGG_DIRS}; do \
21                cd $$dir; \
22                ${PYTHON} setup.py bdist_egg; \
23                cd ..; \
24        done;
25
26clean:
27        @-for dir in ${EGG_DIRS}; do \
28                cd $$dir; \
29                rm -f dist/*.egg; \
30                cd ..; \
31        done;
32
33replace: clean eggs
Note: See TracBrowser for help on using the repository browser.