예제 #1
0
파일: appenv.py 프로젝트: Doula/Bambino
    def _get_site_pckg_path(self, filepath):
        lib_dir = pathd(filepath + '/lib')
        # Use python* because we don't know which version of python
        # we're looking for
        python_dir = lib_dir.dirs('python*')[0]
        site_pckg_path = python_dir + '/site-packages'

        return site_pckg_path
예제 #2
0
파일: appenv.py 프로젝트: Doula/Bambino
    def _get_site_pckg_path(self, filepath):
        lib_dir = pathd(filepath + '/lib')
        # Use python* because we don't know which version of python
        # we're looking for
        python_dir = lib_dir.dirs('python*')[0]
        site_pckg_path = python_dir + '/site-packages'

        return site_pckg_path
예제 #3
0
파일: appenv.py 프로젝트: Doula/Bambino
 def __init__(self, filepath):
     super(Service, self).__init__(filepath)
     self.path = pathd(filepath)
     self.repo_app = Repository(self.path)
     etc = (self.path / 'etc').abspath()
     self.repo_config = Repository(etc)
예제 #4
0
파일: appenv.py 프로젝트: Doula/Bambino
 def __init__(self, filepath):
     super(Service, self).__init__(filepath)
     self.path = pathd(filepath)
     self.repo_app = Repository(self.path)
     etc = (self.path / 'etc').abspath()
     self.repo_config = Repository(etc)