-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Put all functionally of "CMakeLists.txt" into "setup.py" #1573
Comments
@rhyolight Assign it to me, please. |
Hopefully this work will help on the "pip installable" problem.. I'm working hard on this and in the next week I'll create a PR to you follow my progress.. |
Great! Thank you! |
I have a suggestion to even more simplify the build process:
So we'd drop the option of "compiles from source without user intervention", which is kind of pointless, I think. This will fix the problem where changes in What do you think @david-ragazzi @rhyolight ? |
"published binary tarball" - the nupic.core release that is now automatically published to the amazon server. |
The only reason I kept the "compiles from local source" option was to allow nupic to build without internet access if nupic.core was checked out locally. But the truth is if the user already had the nupic.core binary tarball cached locally, they would not need access to re-build. So I think it's okay to remove the "compiles from local source" option, but interested in what @oxtopus thinks. |
Agreed. No need for "compiles from local source", the user either downloads it automatically as part of setup, or the developer builds it separately. |
I agree with this. This would avoid a lot of install issues: c++ compiler problems, problematic environment, etc. We could have an option ( |
👍 no problem with next iteration step, after this PR is merged. But the |
Ok, could you create an issue for that? |
|
@rhyolight I have seen that you removed nupic.core local build as mentioned by @breznak . Thanks for this! So once this is merged we could remove CMake and Make from "Dependencies" section at README:
If in the future, we publish bindings binaries to S3, we also could remove GCC/Clang mentions. |
Then we should put it in the "developer's build" page |
@breznak I didn't understand. Once developers will build nupic.core separately, it's supposed that they will have cloned nupic.core repo and read its README (which has dependencies mentioned) to build it. From I understood, now setup.py only points to binaries build by Travis or the user, it doesn't build nupic.core longer. |
@david-ragazzi my bad, this is true! |
Fixes: numenta#1573 It's weird.. I simply don't undertand why this file still is in repository. I thought I had removed it through numenta#1579
Fixes: numenta#1573 It's weird.. I simply don't undertand why this file still is in repository. I thought I had removed it through numenta#1579
Once that theoretically all extensions could be build using SetupTools (
https://docs.python.org/2/extending/building.html) and that
nupic.cpp
(nupic.core) now can be build separately, we could remove CMake from NuPIC Pyhton and leave it only in NuPIC C++.This will decrease the dependencies in addition to unify the process* into
setup.py
.*Again: we DO need be very careful on avoid creating several files to perform build operations instead of centralize on
setup.py
, I'm saying this due to our bad experience with the old build system.The text was updated successfully, but these errors were encountered: