-
Notifications
You must be signed in to change notification settings - Fork 58
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
PyPI #49
Comments
I see that you've already incremented version but the badge shows previous one. Bug? 😞 |
I re-updated version, but it doesn't work. |
Thank you for your suggestion for registering pip. rgf_python can be installed by
so we don't have to hurry. I will do in the future. By the way, can we build C ++ just by pip? |
Cool! OK, I'll register to PYPI definitely.
Thanks! User benefit of this is big. |
Thanks! Don't hurry, +/- several days don't matter, I think. I've found that it's possible to build C++ source code on-the-fly using
What do you think? |
|
I completed to register PYPI. And thank you for your research about on-the-fly compile. It seems difficult for us.
If LightGBM supports RGF earnestly, it is great benefit for users. |
Super! Thanks! I'll search more about on-the-fly compiling. Maybe there is an opportunity to create two versions of installation: with and without compiling binaries, it'll be the perfect variant. I'll keep you informed about my finds. |
It seems that you were right. About on-the-fly compiling: I found the way to implement option-dependent installation. Working on it link. |
Wonderful! This must make |
I'm having some troubles with building exe file from Visual Studio .sln file. On my machine I overcame problem somehow, but remotely (appveyor) didn't: even if file is compiled it's broken (always return code isn't 0). Which OS do you use? Or better question: do you have access to Windows machine? 😄 |
I use rgf_python on,
To compile RGF, I needed to edit .sln file and to compile 32bit version. However, if we can on-the-fly compile only on Ubuntu, it is big progress for rgf_python. |
Yeah, according to logs of Appveyor, MSBuild can automatically detect the platform: x64 or x86. The problem is in PlatformToolset. By default it was Windows7.1SDK. Locally I can specify installed on my machine toolset (v120) and everything works fine. But remotely after compiling with toolset which is differ from Windows7.1SDK (for example, v110 for Visual Studio 2010) compiled file is corrupted and everytime returns error. Maybe you know how properly change PlatformToolset or maybe it's needed to specify more parameters except PlatformToolset. And the corresponding code. UPD: Please say what PlatformToolset displays when you open solution file from branch compile. UPD2: How many warnings you got after compiling Win32 solution (it'll be great to see your building logs)? |
Last news: I still don't know how to change PlatformToolset by MSBuild properly and there are ~100 warnings on 32-bit machines about type casting. |
Thank you for your report! I am going to look at the build report on 32bit PC. |
Yeah, I think we are almost ready to bring on-the-fly compiling to rgf_python. Thanks for your participation in testing. I mean, I want to see your building logs of original VS solution. On my 64-bit machine even this one is compiled with warnings. I think, I'll write to author with the question about it... |
I came up to the conclusion that specifying some PlatformToolset (PT) versions produces corrupted executable file just because of Appveyor has many installed versions of VS and they interfere paths. That's only the objective reason that came in my mind. Fortunately, I learned how to detect such files and drop them while iterating through different PTs. So, these PTs are not dangerous but they increase the possibility not to made users install additional software. Also, I've written to the author of rgf1.2 and asked him about the safety of typecasting from Azint8 to size_t. |
Rie Johnson, one of the author of RGF, answered the following about the question about typecasting from AZint8 to size_t warnings:
|
I think it's time to increment the version, create new release on GitHub and register rgf_python on PyPI to make it more popular and easy-to-install.
The text was updated successfully, but these errors were encountered: