wooden-thailand-8386
11/13/2020, 7:34 PMpants repo, by removing the “regular” python-package structure like:
projects/
my_project/
my_project/
__init__.py
__main__.py
pyproject.toml
README.md
so I dont have that inner my_project anymore, nor I’m using the pyproject.toml to define that package… the thing is, now my pex_binary() creates the whole structure ->
projects/my_project/__main__.py instead what it was doing before by putting my_project directly into the root of the pex. I’m pretty sure this is something very very silly I’m doing with the python_libraries() definitions / BUILD files.
How can I make sure that my_project lives at the root of the pex file so I can set the entry_point as my_project instead of <http://projects.my|projects.my>_projectwooden-thailand-8386
11/13/2020, 7:40 PM[source]
root_patterns
marker_filenameswooden-thailand-8386
11/13/2020, 7:41 PMwitty-crayon-22786
11/13/2020, 7:43 PM