-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Experimental branch that fetches and builds luajit #14
Comments
why can't this be an additional thing that the installation tries? |
It could, and there's no reason I couldn't make a variant of this branch But the biggest part of why I'm doing this is to battle installation But people like/need flexibility, so I have no intention of pushing any tl;dr I'd love to backport the fetch-and-install to the existing complex
|
Since I'm still have issues with install consistency due to Cython vs. Not, I'm going to do as the Cython docs recommend and completely strip Cython awareness out of setup.py. This makes it developer responsibility to recompile and commit _lupa.c, but considering this branch's focus, that tradeoff makes sense. Actually, unlike most of the stuff I'm doing here in the name of simplicity, this is actually something that I think would make sense for master if you wanted to do it. It would definitely reduce test time for dependent code and simplify PyPI deployment. The only downside I can see is that we haven't made a habit of manual recompilation yet, but that's all. |
How is this different from current master, i.e. specifically this change? |
Ah, apparently I branched from an out-of-date master. There are some On Mon, Jul 1, 2013 at 12:54 AM, scoder notifications@github.com wrote:
|
Turns out I wasn't working on an out-of-date master after all. When I tried to sync my local master with upstream via a git pull, it said I was up to date. So I checked my remotes. And I checked the code. And I figured out where the confusion was. Your commit detects if generated sources are available, and uses them if they are, falling back to Cython. My code assumes generated sources are available, uses them, and fails with an error if it's not available. So your code still has Cython fallback stuff in setup.py, and my setup.py does not have a single mention of Cython outside the classifiers metadata ('Programming Language :: Cython'). So there is a difference after all, and I misunderstood the changes at play in your commit. |
Oh, and Fetchy works nicely now. https://travis-ci.org/campadrenalin/lupa/builds/8624881 It's up to you how much of this you want to integrate into master. I know master is all about flexibility, so probably just adding Fetch as an option, and maybe removing Cythonization from setup.py. |
The biggest struggle with actually using Lupa in any kind of production environment, in my experience, has been platform-specific breakage due to the variable nature of the install process. We do probably always want flexibility in the mainline branch, but for the sake of stability, predictability and testing validity, I'm gonna make a less-flexible branch that handles its own acquisition of luajit.
The text was updated successfully, but these errors were encountered: