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 hybrid-editable installs work with nox #56

Closed
dhermes opened this issue Sep 15, 2017 · 2 comments
Closed

Make hybrid-editable installs work with nox #56

dhermes opened this issue Sep 15, 2017 · 2 comments

Comments

@dhermes
Copy link
Owner

dhermes commented Sep 15, 2017

Goal would be to install editable (pip install -e .) but then have a hook in nox.py which would check if any of the files with a particular extension have changed and then re-build if that was the case.

Relevant extensions (as of 3dfc56d):

  • .c
  • .f
  • .f90
  • .h
  • .pxd
  • .pyx

Also relevant:

  • nox.py
  • setup.cfg
  • setup_helpers.py
  • setup_helpers_osx.py
  • setup_helpers_windows.py
  • setup.py
@dhermes
Copy link
Owner Author

dhermes commented Sep 15, 2017

In total this is 27 source files:

$ git ls-files '*.c' '*.f' '*.f90' '*.h' '*.pxd' '*.pyx'
src/bezier/_curve.pxd
src/bezier/_curve_intersection.pxd
src/bezier/_curve_intersection_speedup.c
src/bezier/_curve_intersection_speedup.pyx
src/bezier/_curve_speedup.c
src/bezier/_curve_speedup.pyx
src/bezier/_helpers.pxd
src/bezier/_helpers_speedup.c
src/bezier/_helpers_speedup.pyx
src/bezier/_surface.pxd
src/bezier/_surface_speedup.c
src/bezier/_surface_speedup.pyx
src/bezier/curve.f90
src/bezier/curve_intersection.f90
src/bezier/helpers.f90
src/bezier/include/bezier.h
src/bezier/include/bezier/curve.h
src/bezier/include/bezier/curve_intersection.h
src/bezier/include/bezier/helpers.h
src/bezier/include/bezier/surface.h
src/bezier/quadpack/d1mach.f
src/bezier/quadpack/dqagse.f
src/bezier/quadpack/dqelg.f
src/bezier/quadpack/dqk21.f
src/bezier/quadpack/dqpsrt.f
src/bezier/surface.f90
src/bezier/types.f90

and 5 "config" files.

@dhermes
Copy link
Owner Author

dhermes commented Jan 18, 2020

This is done (in a somewhat different fashion than originally described) as of #176. The primary slow-down has been resolved by cmake caching the built libbezier.

@dhermes dhermes closed this as completed Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant