Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.5.5 version does not generate dist directory during building #260

Open
D3vil0p3r opened this issue Nov 21, 2024 · 7 comments
Open

6.5.5 version does not generate dist directory during building #260

D3vil0p3r opened this issue Nov 21, 2024 · 7 comments

Comments

@D3vil0p3r
Copy link

D3vil0p3r commented Nov 21, 2024

I am building timezonefinder from source by:

  cd "timezonefinder-6.5.5"

  python -m build --no-isolation --wheel --outdir="$startdir/dist"

but it does not generate any dist directory. I am using the package from PyPI.

It works only if I remove cd "timezonefinder-6.5.5" and I run directly python -m build --wheel --outdir="$startdir/dist" ./timezonefinder-6.5.5

@jannikmi
Copy link
Owner

Thanks for reporting this. Can you reproduce this behaviour for the older version 6.5.4?
If not, then it has something to do with the distutils dependency

@D3vil0p3r
Copy link
Author

I tried it on versions from 6.5.5 to 6.5.0.

@jannikmi
Copy link
Owner

And did it work?

Could you please try with the poetry build command?

@D3vil0p3r
Copy link
Author

By those versions it didn't work. By using poetry build it works... I don't understand why python -m build --no-isolation --wheel --outdir="$startdir/dist" at this point does not work when I run it in timezonefinder-6.5.5 directory. I need python -m build because I need to specify --outdir for packaging timezonefinder in Arch distros.

@jannikmi
Copy link
Owner

Can anyone help with this?

@jannikmi
Copy link
Owner

@D3vil0p3r have you looked into why python -m build ... does not work as expected?
Do other users have the same issue?
Is this a problem with timezonefinder?

@D3vil0p3r
Copy link
Author

I used the same approach of AUR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants