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

Make sure pip install builds js assets #21

Merged
merged 2 commits into from
Mar 28, 2024
Merged

Make sure pip install builds js assets #21

merged 2 commits into from
Mar 28, 2024

Conversation

yuvipanda
Copy link
Member

@yuvipanda yuvipanda commented Mar 28, 2024

Ref #20

Also deletes MANIFEST.in, so setuptools-scm include everything in the git repo in the built package,
which then allows build to find the package.json and other
files to build. I guess a 'source' distribution should include
the JS and CSS files. This increases file size by a few kb but that's
fine.

yuvipanda added a commit that referenced this pull request Mar 28, 2024
1. `pip install -e .` is needed, and will also do the initial
   JS / CSS build from #21
2. Add a note about `npm run webpack:watch` to rebuild changes
3. Use `python -m jupyterhub` to run jupyterhub, to minimize
   chances of venv shennanigans

Fixes #20
This includes everything in the git repo in the built package,
which then allows `build` to find the `package.json` and other
files to build. I guess a 'source' distribution *should* include
the JS and CSS files. This increases file size by a few kb but that's
fine.
@yuvipanda yuvipanda merged commit f4f869d into main Mar 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant