Exemplo n.º 1
0
 def mktools(self, path='tools', username=''):
     ''' create the tools folder as a copy of pipeline/tools '''
     ignore = ['init', 'licenses']
     for each in glob.glob( "%s/*" % roots.tools() ):
         beach = os.path.basename(each)
         if os.path.isdir(each) and beach not in ignore:
             self.mkdir( "%s/%s" % (path, beach), username )
Exemplo n.º 2
0
    def mkroot(self):
        # main project path
        self.mkdir(self.path())

        #self.mkdir(self.path("archive"))
        #self.mkarchive()

        #self.mkref_artwork()
        #self.mksaidas()
        #self.mkdir(self.path("reference"))
        #self.mkreference()

        self.mkPROJETO()

        self.mkdir(self.path("shots"))

        self.mkdir(self.path("assets"))
#        self.mkshot( "assets" )

        self.mktools( self.path("tools"), 'rhradec' )
        if not os.path.exists( self.path("tools/config/versions.py") ):
            self.cp( "%s/config/versions.py" % roots.tools(), self.path("tools/config"), 'rhradec' )