{"action":"opened","issue":{"url":"https://api.github.com/repos/fred3m/scarlet/issues/66","repository_url":"https://api.github.com/repos/fred3m/scarlet","labels_url":"https://api.github.com/repos/fred3m/scarlet/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/fred3m/scarlet/issues/66/comments","events_url":"https://api.github.com/repos/fred3m/scarlet/issues/66/events","html_url":"https://github.com/fred3m/scarlet/issues/66","id":390868042,"node_id":"MDU6SXNzdWUzOTA4NjgwNDI=","number":66,"title":"Include issues in operators_pybind11.cc","user":{"login":"herjy","id":16084926,"node_id":"MDQ6VXNlcjE2MDg0OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/16084926?v=4","gravatar_id":"","url":"https://api.github.com/users/herjy","html_url":"https://github.com/herjy","followers_url":"https://api.github.com/users/herjy/followers","following_url":"https://api.github.com/users/herjy/following{/other_user}","gists_url":"https://api.github.com/users/herjy/gists{/gist_id}","starred_url":"https://api.github.com/users/herjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herjy/subscriptions","organizations_url":"https://api.github.com/users/herjy/orgs","repos_url":"https://api.github.com/users/herjy/repos","events_url":"https://api.github.com/users/herjy/events{/privacy}","received_events_url":"https://api.github.com/users/herjy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T21:30:42Z","updated_at":"2018-12-13T21:30:42Z","closed_at":null,"author_association":"NONE","body":"When installing scalet with python2.7, the installation crashes as shown below. \r\nThis is fixed easily by either replacing the <> by \"\" in the include lines, or by installing with python3.\r\n\r\n```\r\njoseph:scarlet remy$ sudo python2.7 setup.py install\r\n/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py:406: UserWarning: The version specified (u'0.3.b34b32b') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.\r\n  \"details.\" % self.metadata.version\r\nrunning install\r\nrunning bdist_egg\r\nrunning egg_info\r\nwriting requirements to scarlet.egg-info/requires.txt\r\nwriting scarlet.egg-info/PKG-INFO\r\nwriting top-level names to scarlet.egg-info/top_level.txt\r\nwriting dependency_links to scarlet.egg-info/dependency_links.txt\r\nreading manifest file 'scarlet.egg-info/SOURCES.txt'\r\nwriting manifest file 'scarlet.egg-info/SOURCES.txt'\r\ninstalling library code to build/bdist.macosx-10.13-x86_64/egg\r\nrunning install_lib\r\nrunning build_py\r\nrunning build_ext\r\n/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /tmp/tmpTW9gRr.cpp -o tmp/tmpTW9gRr.o -std=c++14\r\n/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /tmp/tmpkRvneG.cpp -o tmp/tmpkRvneG.o -fvisibility=hidden\r\nbuilding 'scarlet.operators_pybind11' extension\r\n/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iinclude -Iinclude -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/peigen-0.0.9-py2.7.egg/peigen/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c scarlet/operators_pybind11.cc -o build/temp.macosx-10.13-x86_64-2.7/scarlet/operators_pybind11.o -stdlib=libc++ -mmacosx-version-min=10.7 -DVERSION_INFO=\"0.3.b34b32b\" -std=c++14 -fvisibility=hidden\r\nscarlet/operators_pybind11.cc:1:10: error: 'pybind11/pybind11.h' file not found with <angled> include; use \"quotes\" instead\r\n#include <pybind11/pybind11.h>\r\n         ^~~~~~~~~~~~~~~~~~~~~\r\n         \"pybind11/pybind11.h\"\r\nscarlet/operators_pybind11.cc:2:10: error: 'pybind11/numpy.h' file not found with <angled> include; use \"quotes\" instead\r\n#include <pybind11/numpy.h>\r\n         ^~~~~~~~~~~~~~~~~~\r\n         \"pybind11/numpy.h\"\r\nscarlet/operators_pybind11.cc:3:10: error: 'pybind11/stl.h' file not found with <angled> include; use \"quotes\" instead\r\n#include <pybind11/stl.h>\r\n         ^~~~~~~~~~~~~~~~\r\n         \"pybind11/stl.h\"\r\nscarlet/operators_pybind11.cc:4:10: error: 'pybind11/eigen.h' file not found with <angled> include; use \"quotes\" instead\r\n#include <pybind11/eigen.h>\r\n         ^~~~~~~~~~~~~~~~~~\r\n         \"pybind11/eigen.h\"\r\nscarlet/operators_pybind11.cc:72:1: warning: 'pybind11_init' is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE\r\n      [-Wdeprecated-declarations]\r\nPYBIND11_PLUGIN(operators_pybind11)\r\n^\r\nscarlet/pybind11/detail/common.h:261:20: note: expanded from macro 'PYBIND11_PLUGIN'\r\n            return pybind11_init();                                            \\\r\n                   ^\r\nscarlet/operators_pybind11.cc:72:1: note: 'pybind11_init' has been explicitly marked deprecated here\r\nscarlet/pybind11/detail/common.h:256:5: note: expanded from macro 'PYBIND11_PLUGIN'\r\n    PYBIND11_DEPRECATED(\"PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE\")  \\\r\n    ^\r\nscarlet/pybind11/detail/common.h:90:41: note: expanded from macro 'PYBIND11_DEPRECATED'\r\n#  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]\r\n                                        ^\r\n1 warning and 4 errors generated.\r\nerror: command '/usr/bin/clang' failed with exit status 1\r\n```\r\n"}}
{"actor":{"display_login":"herjy"}}