{"action":"created","issue":{"url":"https://api.github.com/repos/takluyver/flit/issues/221","repository_url":"https://api.github.com/repos/takluyver/flit","labels_url":"https://api.github.com/repos/takluyver/flit/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/takluyver/flit/issues/221/comments","events_url":"https://api.github.com/repos/takluyver/flit/issues/221/events","html_url":"https://github.com/takluyver/flit/pull/221","id":369840566,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjc1NDYz","number":221,"title":"try pyproject.toml then flit.ini","user":{"login":"jwkvam","id":86304,"node_id":"MDQ6VXNlcjg2MzA0","avatar_url":"https://avatars0.githubusercontent.com/u/86304?v=4","gravatar_id":"","url":"https://api.github.com/users/jwkvam","html_url":"https://github.com/jwkvam","followers_url":"https://api.github.com/users/jwkvam/followers","following_url":"https://api.github.com/users/jwkvam/following{/other_user}","gists_url":"https://api.github.com/users/jwkvam/gists{/gist_id}","starred_url":"https://api.github.com/users/jwkvam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwkvam/subscriptions","organizations_url":"https://api.github.com/users/jwkvam/orgs","repos_url":"https://api.github.com/users/jwkvam/repos","events_url":"https://api.github.com/users/jwkvam/events{/privacy}","received_events_url":"https://api.github.com/users/jwkvam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-13T20:57:14Z","updated_at":"2018-10-22T17:39:28Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/takluyver/flit/pulls/221","html_url":"https://github.com/takluyver/flit/pull/221","diff_url":"https://github.com/takluyver/flit/pull/221.diff","patch_url":"https://github.com/takluyver/flit/pull/221.patch"},"body":"Fixes #215 \r\n\r\nDo not have any unit tests, but appears to work through my manual testing.\r\n\r\nErrors will look something like this:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/jacques/miniconda/lib/python3.6/site-packages/flit/installfrom.py\", line 117, in install_local\r\n    deps='production').install()\r\n  File \"/Users/jacques/miniconda/lib/python3.6/site-packages/flit/install.py\", line 106, in __init__\r\n    self.ini_info = inifile.read_pkg_ini(ini_path)\r\n  File \"/Users/jacques/miniconda/lib/python3.6/site-packages/flit/inifile.py\", line 56, in read_pkg_ini\r\n    cp = _read_pkg_ini(path)\r\n  File \"/Users/jacques/miniconda/lib/python3.6/site-packages/flit/inifile.py\", line 156, in _read_pkg_ini\r\n    with path.open(encoding='utf-8') as f:\r\n  File \"/Users/jacques/miniconda/lib/python3.6/pathlib.py\", line 1181, in open\r\n    opener=self._opener)\r\n  File \"/Users/jacques/miniconda/lib/python3.6/pathlib.py\", line 1035, in _opener\r\n    return self._accessor.open(self, flags, mode)\r\n  File \"/Users/jacques/miniconda/lib/python3.6/pathlib.py\", line 387, in wrapped\r\n    return strfunc(str(pathobj), *args)\r\nFileNotFoundError: [Errno 2] No such file or directory: '/var/folders/gd/p_8rmvg56j39gd6lnkb7_51h0000gn/T/tmph97psynz/pyGAM-master/flitx.ini'\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/jacques/miniconda/bin/flit\", line 4, in <module>\r\n    main()\r\n  File \"/Users/jacques/miniconda/lib/python3.6/site-packages/flit/__init__.py\", line 127, in main\r\n    sys.exit(installfrom(args.location, user=args.user, python=args.python))\r\n  File \"/Users/jacques/miniconda/lib/python3.6/site-packages/flit/installfrom.py\", line 130, in installfrom\r\n    return install_local(fetch(*parse_address(address)), user=user, python=python)\r\n  File \"/Users/jacques/miniconda/lib/python3.6/site-packages/flit/installfrom.py\", line 121, in install_local\r\n    raise FileNotFoundError('Neither {} found'.format(' nor '.join(ininames))) from exc\r\nFileNotFoundError: Neither pyproject.toml nor flitx.ini found\r\n```"},"comment":{"url":"https://api.github.com/repos/takluyver/flit/issues/comments/431910152","html_url":"https://github.com/takluyver/flit/pull/221#issuecomment-431910152","issue_url":"https://api.github.com/repos/takluyver/flit/issues/221","id":431910152,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTkxMDE1Mg==","user":{"login":"jwkvam","id":86304,"node_id":"MDQ6VXNlcjg2MzA0","avatar_url":"https://avatars0.githubusercontent.com/u/86304?v=4","gravatar_id":"","url":"https://api.github.com/users/jwkvam","html_url":"https://github.com/jwkvam","followers_url":"https://api.github.com/users/jwkvam/followers","following_url":"https://api.github.com/users/jwkvam/following{/other_user}","gists_url":"https://api.github.com/users/jwkvam/gists{/gist_id}","starred_url":"https://api.github.com/users/jwkvam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwkvam/subscriptions","organizations_url":"https://api.github.com/users/jwkvam/orgs","repos_url":"https://api.github.com/users/jwkvam/repos","events_url":"https://api.github.com/users/jwkvam/events{/privacy}","received_events_url":"https://api.github.com/users/jwkvam/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T17:39:27Z","updated_at":"2018-10-22T17:39:27Z","author_association":"NONE","body":"@takluyver thanks for the suggestion, let me know what you think about the update."}}
{"actor":{"display_login":"jwkvam"}}