def run(self): pass if __name__ == '__main__': # Always load source from the current folder sys.path = [os.path.abspath('indico')] + sys.path #PWD_INDICO_CONF = 'etc/indico.conf' #if not os.path.exists(PWD_INDICO_CONF): # shutil.copy('etc/indico.conf.sample', PWD_INDICO_CONF) from MaKaC.consoleScripts.installBase import setIndicoInstallMode, upgrade_indico_conf setIndicoInstallMode(True) x = vars() x.packageDir = os.path.join(get_python_lib(), 'MaKaC') x.binDir = 'bin' x.documentationDir = 'doc' x.configurationDir = 'etc' x.htdocsDir = 'htdocs' dataFiles = _generateDataPaths((('bin', 'bin'), ('doc', 'doc'), ('etc', 'etc'), ('migrations', 'migrations'))) foundPackages = list('MaKaC.{}'.format(pkg) for pkg in find_packages(where='indico/MaKaC')) foundPackages.append('MaKaC') foundPackages.append('htdocs')
def run(self): pass if __name__ == '__main__': # Always load source from the current folder sys.path = [os.path.abspath('indico')] + sys.path #PWD_INDICO_CONF = 'etc/indico.conf' #if not os.path.exists(PWD_INDICO_CONF): # shutil.copy('etc/indico.conf.sample', PWD_INDICO_CONF) from MaKaC.consoleScripts.installBase import setIndicoInstallMode, upgrade_indico_conf setIndicoInstallMode(True) x = vars() x.packageDir = os.path.join(get_python_lib(), 'MaKaC') x.binDir = 'bin' x.documentationDir = 'doc' x.configurationDir = 'etc' x.htdocsDir = 'htdocs' dataFiles = _generateDataPaths( (('bin', 'bin'), ('doc', 'doc'), ('etc', 'etc'), ('migrations', 'migrations'))) foundPackages = list('MaKaC.{}'.format(pkg) for pkg in find_packages(where='indico/MaKaC'))