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

Build js file at package time & cleanu sdist #9

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,6 @@ cython_debug/

# JS is everywhere
node_modules/

# Built files should not be in the package
static/dist/
23 changes: 19 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
include LICENSE
include README.md
graft jupyterhub_fancy_profiles/templates
graft jupyterhub_fancy_profiles/static
# setuptools-scm puts all tracked files here already. We need to
# prune files we don't want in our sdist, and include generated files
# Ideally we can simply just *include* files we want, but I have given up
# on that for now.

# Add generated files
graft jupyterhub_fancy_profiles/static/dist

# Remove JS files that we won't need when installed
exclude src/*
exclude webpack.config.js

# Remove docs & dev time needs we won't need when installed in sdist
exclude CONTRIBUTING.md
exclude dev-requirements.txt
exclude jupyterhub_config.py
exclude binderhub_config.py
exclude package.json
exclude screenshot.png
Loading