Unable to pip install from the local folder after `poetry build --format sdist`.
More details can be found in this issue: https://github.com/mtkennerly/poetry-dynamic-versioning/issues/126 on the last comment made by myself.
Thank you.
Let's keep the discussion over here since this is unrelated to https://github.com/mtkennerly/poetry-dynamic-versioning/issues/126.
Did you follow the template instructions? It appears your project is not using git or doesn't have a .git folder.
if you can share your repo, I can investigate.
Thank you for your kind offer.
https://github.com/jymchng/simple-python-template
This is the repository. I had expanded on the build.py file, my goal is to be able to distribute the C extension modules to any user.
I can't get your template working (the bootstrap script doesn't work). Once it's in a working state I can look a lil deeper.
Hi Brian
I apologize for not informing you earlier that I don't use your bootstrap script, hence it should work without going through the bootstrap step.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Brian Pugh @.>
Sent: Friday, August 2, 2024 3:41:55 AM
To: BrianPugh/python-template @.>
Cc: Jim Chng @.>; Author @.>
Subject: Re: [BrianPugh/python-template] Unable to pip install from the local folder after poetry build --format sdist. (Issue #157)
I can't get your template working (the bootstrap script doesn't work). Once it's in a working state I can look a lil deeper.
— Reply to this email directly, view it on GitHubhttps://github.com/BrianPugh/python-template/issues/157#issuecomment-2263835138, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGU2NAR7XFB6XF7VT3ZGCJDZPKFQHAVCNFSM6AAAAABL3DSBY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTHAZTKMJTHA. You are receiving this because you authored the thread.Message ID: @.***>
After disabling the testpypi poetry source, it builds and installs fine for me.
After disabling the
testpypipoetry source, it builds and installs fine for me.
That's nice! Would you mind sharing what were the commands you ran?
Mine were:
poetry build --format sdist
# ./dist/simple_python_template-0.0.0.tar.gz is created
python -m pip install dist/simple_python_template-0.0.0.tar.gz
same commands work on my machine.
I am still facing the same problem sadly!
when building the resulting tar should look like:
$ ls -alh dist/
total 224
drwxr-xr-x@ 3 brianpugh staff 96B Aug 2 09:48 .
drwxr-xr-x@ 26 brianpugh staff 832B Aug 2 09:37 ..
-rw-r--r--@ 1 brianpugh staff 111K Aug 2 09:48 simple_python_template-0.0.0.post13+b2aab4a.tar.gz
closing due to unable to reproduce.