-
Notifications
You must be signed in to change notification settings - Fork 1.6k
NuPIC should be pip-installable #809
Comments
👍 |
At http://lists.numenta.org/pipermail/nupic-hackers_lists.numenta.org/2014-April/000531.html , @david-ragazzi suggested a directory structure like:
Reasoning:
|
Yeah.. I'm thinking in take this job to me.. It's good to me understand the Python stuff of NuPIC.. :-) It's ok, @rhyolight ? |
@david-ragazzi Ok with me. Ask @oxtopus and @scottpurdy your python questions. |
I'm excited to see this become a reality :) |
It will definitely help with python installation problems. :) Matt Taylor On Mon, Apr 14, 2014 at 9:06 PM, Chetan Surpur notifications@github.comwrote:
|
👍 yay! |
@david-ragazzi you just made my day! |
haha.. Ok.. but I'm advising I still am newbie in python packages (althought I also was a CMake newbie).. All help will be welcome.. Unless say that we'll have to restructure the current repo to follow PIP/distools workflow.. See the directory structure quoted by @utensil . Don't worry, are minor changes... |
I created the PR #813 which anyone can follow the work.. By the way, I'm following this tutorial: |
I think I would actually prefer something where the user would call cmake first, and the result partly being a python package (say, a binary egg or platform-specific wheel) that is installable with pip and/or included setup.py. I think this approach would be cleanest and give the most flexibility and paves the way to binary releases, which wouldn't require the user to have to build anything themselves if they aren't going to be developing for NuPIC but instead will be just users. |
I'm working to user pass extra flags to CMake in http://stackoverflow.com/questions/677577/distutils-how-to-pass-a-user-defined-parameter-to-setup-py This way the process will be the very easy, because everything will can be done using a single line using setup.py.. |
We should have a
setup.py
file that callscmake
, doesn't require any environment variables to be set by the user, and installs NuPIC in a pip/python standard way.The text was updated successfully, but these errors were encountered: