spin 0.17__tar.gz → 0.18__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {spin-0.17/spin.egg-info → spin-0.18}/PKG-INFO +1 -1
  2. {spin-0.17 → spin-0.18}/spin/__init__.py +1 -1
  3. {spin-0.17 → spin-0.18}/spin/cmds/meson.py +5 -1
  4. {spin-0.17 → spin-0.18}/spin/cmds/pip.py +3 -0
  5. {spin-0.17 → spin-0.18/spin.egg-info}/PKG-INFO +1 -1
  6. {spin-0.17 → spin-0.18}/LICENSE +0 -0
  7. {spin-0.17 → spin-0.18}/README.md +0 -0
  8. {spin-0.17 → spin-0.18}/pyproject.toml +0 -0
  9. {spin-0.17 → spin-0.18}/setup.cfg +0 -0
  10. {spin-0.17 → spin-0.18}/spin/__main__.py +0 -0
  11. {spin-0.17 → spin-0.18}/spin/cmds/__init__.py +0 -0
  12. {spin-0.17 → spin-0.18}/spin/cmds/build.py +0 -0
  13. {spin-0.17 → spin-0.18}/spin/cmds/meta.py +0 -0
  14. {spin-0.17 → spin-0.18}/spin/cmds/util.py +0 -0
  15. {spin-0.17 → spin-0.18}/spin/color_format.py +0 -0
  16. {spin-0.17 → spin-0.18}/spin/containers.py +0 -0
  17. {spin-0.17 → spin-0.18}/spin/sectioned_help.py +0 -0
  18. {spin-0.17 → spin-0.18}/spin/tests/__init__.py +0 -0
  19. {spin-0.17 → spin-0.18}/spin/tests/conftest.py +0 -0
  20. {spin-0.17 → spin-0.18}/spin/tests/test_build_cmds.py +0 -0
  21. {spin-0.17 → spin-0.18}/spin/tests/test_cli.py +0 -0
  22. {spin-0.17 → spin-0.18}/spin/tests/test_editable.py +0 -0
  23. {spin-0.17 → spin-0.18}/spin/tests/test_extend_command.py +0 -0
  24. {spin-0.17 → spin-0.18}/spin/tests/test_meson.py +0 -0
  25. {spin-0.17 → spin-0.18}/spin/tests/test_test.py +0 -0
  26. {spin-0.17 → spin-0.18}/spin/tests/test_util.py +0 -0
  27. {spin-0.17 → spin-0.18}/spin/tests/testutil.py +0 -0
  28. {spin-0.17 → spin-0.18}/spin.egg-info/SOURCES.txt +0 -0
  29. {spin-0.17 → spin-0.18}/spin.egg-info/dependency_links.txt +0 -0
  30. {spin-0.17 → spin-0.18}/spin.egg-info/entry_points.txt +0 -0
  31. {spin-0.17 → spin-0.18}/spin.egg-info/requires.txt +0 -0
  32. {spin-0.17 → spin-0.18}/spin.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: spin
3
- Version: 0.17
3
+ Version: 0.18
4
4
  Summary: Developer tool for scientific Python libraries
5
5
  Maintainer-email: Scientific Python <spin@discuss.scientific-python.org>
6
6
  License: BSD 3-Clause License
@@ -6,7 +6,7 @@ For usage information see `python -m spin`.
6
6
  Read more at https://github.com/scientific-python/spin
7
7
  """
8
8
 
9
- __version__ = "0.17"
9
+ __version__ = "0.18"
10
10
 
11
11
  from .cmds import util
12
12
 
@@ -417,6 +417,7 @@ def build(
417
417
  _meson_cli()
418
418
  + [
419
419
  "install",
420
+ "--no-rebuild",
420
421
  "--only-changed",
421
422
  "-C",
422
423
  build_dir,
@@ -765,7 +766,10 @@ def ipython(ctx, *, ipython_args, build=None, build_dir=None, pre_import=""):
765
766
  print(f'💻 Launching IPython with PYTHONPATH="{p}"')
766
767
  if pre_import:
767
768
  ipython_args = (f"--TerminalIPythonApp.exec_lines={pre_import}",) + ipython_args
768
- _run(["ipython", "--ignore-cwd"] + list(ipython_args), replace=True)
769
+ _run(
770
+ [sys.executable, "-P", "-m", "IPython", "--ignore-cwd"] + list(ipython_args),
771
+ replace=True,
772
+ )
769
773
 
770
774
 
771
775
  @click.command()
@@ -51,4 +51,7 @@ def install(*, pip_args, editable, verbose, verbose_import):
51
51
  if verbose:
52
52
  pip_args = ["-v"] + pip_args
53
53
 
54
+ if "." in pip_args:
55
+ pip_args.remove(".")
56
+
54
57
  _run(pip_cmd + pip_args + ["."], sys_exit=False, replace=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: spin
3
- Version: 0.17
3
+ Version: 0.18
4
4
  Summary: Developer tool for scientific Python libraries
5
5
  Maintainer-email: Scientific Python <spin@discuss.scientific-python.org>
6
6
  License: BSD 3-Clause License
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes