09/26/2021, 6:10 PM
hi. I'm simply looking for a way to manage project like this?
Copy code
├── cli-bin
│   ├──
│   ├── Pipfile
└── somelib
Is this possible with just and pipenv? Or do I need something like pants? I've tried a Pipfile that looks like this
Copy code
url = "<>"
name = "cli-bin"

somelib = {editable = true, path = "./../somelib"}
but it can't resolve somelib modules. I've read through yoru docs and couldn't figure out how to make it work for my use case.
👋 4


09/27/2021, 6:06 AM
Hi Jo, sorry for the delayed response, given the weekend. Will take a look on Monday morning!
Hi @flat-waitress-2758, to follow up: I can't answer pipenv questions as I'm not very familiar with it. But how you'd do this in Pants depends on how you want to deploy this code. Are you looking to create an executable around Do you need to publish (if not then you shouldn't need a at all, I think)
One simple solution is to have this in `project/BUILD`:
Copy code

pex_binary(name="bin", entry_point="cli-bin/")
This assumes that you have configured
as a [source root]( in your pants.toml.
./pants package project:bin
will build a .pex file that, when executed, will run your main
Is that roughly what you had in mind?
I may have omitted a detail or two...