Commit a6730c0
Make jill an optional dependency with lazy import
Previously, jill was a hard dependency that was imported at module load time.
This meant diffeqpy would fail to import if jill was not installed, even when
Julia was already present on the system.
Changes:
- Remove top-level import of jill.install
- Lazy import jill only when Julia needs to be installed
- Move jill to optional extras_require in setup.py
- Provide clear error message when jill is needed but not installed
This allows users with Julia already installed to use diffeqpy without
installing jill, while still providing automatic Julia installation for
users who want it via: pip install diffeqpy[julia-install]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent b0ce7ce commit a6730c0
2 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
64 | 77 | | |
65 | 78 | | |
66 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
0 commit comments