Package pyrobase :: Package paver :: Module easy
[hide private]
[frames] | no frames]

Source Code for Module pyrobase.paver.easy

 1  # -*- coding: utf-8 -*- 
 2  # pylint: disable=unused-import, wrong-import-position 
 3  """ Paver Easy Task Import. 
 4   
 5      Copyright (c) 2011 The PyroScope Project <pyroscope.project@gmail.com> 
 6  """ 
 7  # This program is free software; you can redistribute it and/or modify 
 8  # it under the terms of the GNU General Public License as published by 
 9  # the Free Software Foundation; either version 2 of the License, or 
10  # (at your option) any later version. 
11  # 
12  # This program is distributed in the hope that it will be useful, 
13  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
14  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
15  # GNU General Public License for more details. 
16  # 
17  # You should have received a copy of the GNU General Public License along 
18  # with this program; if not, write to the Free Software Foundation, Inc., 
19  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 
20  # Add a project's "src" to the path, if it exists and isn't there yet 
21  import os 
22  import sys 
23  if os.path.abspath("src") not in sys.path: 
24      sys.path.insert(0, os.path.abspath("src")) 
25  del os, sys 
26   
27  # Import public symbols 
28  from pyrobase.paver.quality import lint #@UnusedImport 
29  from pyrobase.paver.documentation import docs #@UnusedImport 
30  from pyrobase.paver.housekeeping import clean, dist_clean #@UnusedImport 
31  from pyrobase.paver.support import task_requires as requires #@UnusedImport 
32