1
1
mirror of https://github.com/leon-ai/leon.git synced 2025-01-03 22:28:10 +03:00

chore: merge

This commit is contained in:
louistiti 2022-09-04 11:57:05 +08:00
commit a903f20d7e
No known key found for this signature in database
GPG Key ID: 0A1C3B043E70C77D

View File

@ -43,6 +43,12 @@ export default () =>
const pipfileMtime = fs.statSync(pipfilePath).mtime
const isDotVenvExist = fs.existsSync(dotVenvPath)
const installPythonPackages = async () => {
if (isDotVenvExist) {
log.info(`Deleting ${dotVenvPath}...`)
fs.rmSync(dotVenvPath, { recursive: true, force: true })
log.success(`${dotVenvPath} deleted`)
}
// Installing Python packages
log.info('Installing Python packages from bridges/python/Pipfile...')