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

sdist build: let pip install put ~everything from tar.gz to site-packages #7145

Merged

Conversation

SomberNight
Copy link
Member

@SomberNight SomberNight commented Mar 27, 2021

This makes pip install copy ~all files from the tar.gz to site-packages.

(well, not everything, only files in electrum/ (so e.g. not contrib))
See comment in setup.py.

E.g. we have been including the www/ folder in the tar.gz but have not been installing it to site-packages. Now we do.
Or we have been including the kivy GUI files in the tar.gz but not installing them. Now we do.

I like this because it simplifies setup.py and should be easier to reason about too.

should fix #7089 (at least when using the tar.gz)


related:
pypa/sampleproject#30 (comment)
pypa/sampleproject#30 (comment)
(most of that thread really)

…ages

(well, not everything, only files in electrum/ (so e.g. not contrib))
See comment in setup.py.

E.g. we have been including the www/ folder in the tar.gz but have not been installing it
to site-packages. Now we do.
Or we have been including the kivy GUI files in the tar.gz but not installing them.
Now we do.

I like this because it simplifies setup.py and should be easier to reason about too.

should fix spesmilo#7089 (at least when using the tar.gz)
@ecdsa
Copy link
Member

ecdsa commented Mar 28, 2021

that looks good to me. why is it still a draft?

@SomberNight
Copy link
Member Author

I wanted to do some more checks that it behaves as expected. I did a few builds now, and they looked ok.

@SomberNight SomberNight marked this pull request as ready for review March 28, 2021 16:54
@SomberNight SomberNight merged commit 6ed19c7 into spesmilo:master Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No directory exists at 'electrum/www'
2 participants