Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7532b7c

Browse files
committed
Download jquery during build (proof of concept).
What works: - `python setup.py sdist` and `python setup.py bdist_wheel` fetch jquery and include it in the sdist/wheel. - `pip install .` fetches jquery and puts it to the correct location. - `pip install -e .` fetches jquery and puts it in the source tree. What needs to be done (cf TODOs): - If there is already a file named jquery-3.3.1.min.js, check its hash to decide whether we want to download it again or not. - Factor out duplicated code. - Make code Py2-compatible. - Repeat the same thing for jquery-ui and for non-minified versions. - Update the gitignore accordingly.
1 parent 920295d commit 7532b7c

File tree

4 files changed

+73
-10362
lines changed

4 files changed

+73
-10362
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,8 @@ lib/z.lib
9595
#################
9696

9797
.ipynb_checkpoints/
98+
99+
# Vendored dependencies #
100+
#########################
101+
102+
jquery-*.js

0 commit comments

Comments
 (0)