{"action":"created","issue":{"url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/19","repository_url":"https://api.github.com/repos/peter-ch/MultiNEAT","labels_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/19/comments","events_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/19/events","html_url":"https://github.com/peter-ch/MultiNEAT/pull/19","id":170999961,"number":19,"title":"Compilation with Cython","user":{"login":"jr-garcia","id":5186988,"avatar_url":"https://avatars.githubusercontent.com/u/5186988?v=3","gravatar_id":"","url":"https://api.github.com/users/jr-garcia","html_url":"https://github.com/jr-garcia","followers_url":"https://api.github.com/users/jr-garcia/followers","following_url":"https://api.github.com/users/jr-garcia/following{/other_user}","gists_url":"https://api.github.com/users/jr-garcia/gists{/gist_id}","starred_url":"https://api.github.com/users/jr-garcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jr-garcia/subscriptions","organizations_url":"https://api.github.com/users/jr-garcia/orgs","repos_url":"https://api.github.com/users/jr-garcia/repos","events_url":"https://api.github.com/users/jr-garcia/events{/privacy}","received_events_url":"https://api.github.com/users/jr-garcia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-13T08:43:21Z","updated_at":"2016-10-06T01:56:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/peter-ch/MultiNEAT/pulls/19","html_url":"https://github.com/peter-ch/MultiNEAT/pull/19","diff_url":"https://github.com/peter-ch/MultiNEAT/pull/19.diff","patch_url":"https://github.com/peter-ch/MultiNEAT/pull/19.patch"},"body":"I made some changes so the Cython version compiles and the examples run. Library can be installed with  (assuming Python3 as default)\r\n```bash\r\nMN_BUILD=cython\r\npython setup.py install \r\n```\r\nor \r\n```bash\r\nMN_BUILD=cython\r\npython setup.py develop\r\n```\r\nor\r\n```bash\r\nsudo su\r\nMN_BUILD=cython\r\npip install ./\r\n```\r\n It _seems_ to not have crashes nor memory leaks. Still, it probably needs Boost since at least in Genome.cpp, boost shared pointers are needed. Notably missing in this version is pickle support. Without it, Genomes in multiprocessing jobs are uninitialized. I put needed changes for pickling in another branch since I modified .cpp sources and that got ugly and might be wrong since I know very little about C (and Parameters and Substrate pickling is pending). Some more compatibility with pip is there, but more work is needed to upload to Pypi. Hope this gives some ideas or saves some work for somebody. Thanks."},"comment":{"url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/comments/251848443","html_url":"https://github.com/peter-ch/MultiNEAT/pull/19#issuecomment-251848443","issue_url":"https://api.github.com/repos/peter-ch/MultiNEAT/issues/19","id":251848443,"user":{"login":"jr-garcia","id":5186988,"avatar_url":"https://avatars.githubusercontent.com/u/5186988?v=3","gravatar_id":"","url":"https://api.github.com/users/jr-garcia","html_url":"https://github.com/jr-garcia","followers_url":"https://api.github.com/users/jr-garcia/followers","following_url":"https://api.github.com/users/jr-garcia/following{/other_user}","gists_url":"https://api.github.com/users/jr-garcia/gists{/gist_id}","starred_url":"https://api.github.com/users/jr-garcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jr-garcia/subscriptions","organizations_url":"https://api.github.com/users/jr-garcia/orgs","repos_url":"https://api.github.com/users/jr-garcia/repos","events_url":"https://api.github.com/users/jr-garcia/events{/privacy}","received_events_url":"https://api.github.com/users/jr-garcia/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T01:56:17Z","updated_at":"2016-10-06T01:56:17Z","body":"It certainly works. Just requires a little refinement to be perfect (also you can close this when you like :) )."}}
{"actor":{"display_login":"jr-garcia"}}