> > > When I using `pipx inject leo /Users/mac/Desktop/proj/leo-editor` for > newest code. it throws: > > error: package directory 'leo/doc/_static' does not exist > > > after `mkdir -p leo/doc/_static`, it works as before. > > Maybe we need an empty .gitignore file in that folder? > > Why would an empty .gitignore folder help? > > My *speculation *is that perhaps *leo-editor/MANIFEST.in* should contain > this line: > > include leo/doc/_static > > Frankly speaking, I don't know how MANIFEST.in works. empty .gitignore folder can keep the _static dir in repo, so the error will be fixed. Of course, this is indeed not a fundamental solution to error. In fact, I don't know or track where this error appears (mainly because I think this matter is not very important). This is just a quick and dirty fix.
> Otoh, I don't understand the differences between pip and pipx. > My understanding is: pipx just creates a separate virtual env, and installs the dependency, after that, it adds the bin dir to the global path. I think it’s not a problem with pipx. It just creates a separate virtual env for each installed package. Btw, my OS is Mac, does anyone else have the same problem as me? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CA%2BUQrQyMUOuDHeUHWtmkVRjHiwjgEQi8QS_SmifJZYXiaEphNg%40mail.gmail.com.