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:
commit
a903f20d7e
@ -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...')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user