Better setup script
See original GitHub issueWe need a better way of ensuring pybind11
is installed before any of the C code is compiled. For some reason placing pybind11
in setup_requires
is not sufficient, and the code reaches the import pybind11
line (when resolving the include paths) before it’s actually installed. The suggested workaround here is to use subprocess
to pip install pybind11
, which is horribly hacky. @dfm, any ideas?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
<script setup> | Vue.js
<script setup> is a compile-time syntactic sugar for using Composition API ... Ability to declare props and emitted events using pure TypeScript; Better...
Read more >The 101 guide to Script Setup in Vue 3 - VueDose
Don't you know about Script Setup yet? Check out this short article now and learn the nicest way to define a Vue component...
Read more >Vue.js Script Setup in Less than 5 Minutes
Learn how to use the Vue.js script setup syntax for making the most out of the Composition API in under 5 mintues.
Read more >Explaining The New script setup Type in Vue 3 - LearnVue
Now that we know what <script setup> even is and why it can be useful, let's take a look at some of its...
Read more >Understanding the new script setup with (defineProps ... - Netlify
Learn the fundamentals of Vue 3.2 script setup feature with special APIs like defineProps and defineEmits.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The conda compiler crashes if you only have
10.7
. I’m not sure what number is required though!You definitely don’t want to do that!!!11!!!1!!1!
There are a few issues with the current setup (e.g.
setuptools_scm
version 3.4 doesn’t exist yet so that dep can’t be satisfied) but otherwise the pip install works just fine for me even in a fresh environment without pybind11 preinstalled. Here’s what I did:This runs fine after applying the following diff: