{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/567","repository_url":"https://api.github.com/repos/conda/conda-build","labels_url":"https://api.github.com/repos/conda/conda-build/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/567/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/567/events","html_url":"https://github.com/conda/conda-build/issues/567","id":104086689,"number":567,"title":"source/path should work with a file","user":{"login":"RJT1990","id":13335781,"avatar_url":"https://avatars.githubusercontent.com/u/13335781?v=3","gravatar_id":"","url":"https://api.github.com/users/RJT1990","html_url":"https://github.com/RJT1990","followers_url":"https://api.github.com/users/RJT1990/followers","following_url":"https://api.github.com/users/RJT1990/following{/other_user}","gists_url":"https://api.github.com/users/RJT1990/gists{/gist_id}","starred_url":"https://api.github.com/users/RJT1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RJT1990/subscriptions","organizations_url":"https://api.github.com/users/RJT1990/orgs","repos_url":"https://api.github.com/users/RJT1990/repos","events_url":"https://api.github.com/users/RJT1990/events{/privacy}","received_events_url":"https://api.github.com/users/RJT1990/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/conda/conda-build/milestones/6","html_url":"https://github.com/conda/conda-build/milestones/2.1.0","labels_url":"https://api.github.com/repos/conda/conda-build/milestones/6/labels","id":1987781,"number":6,"title":"2.1.0","description":null,"creator":{"login":"msarahan","id":38393,"avatar_url":"https://avatars.githubusercontent.com/u/38393?v=3","gravatar_id":"","url":"https://api.github.com/users/msarahan","html_url":"https://github.com/msarahan","followers_url":"https://api.github.com/users/msarahan/followers","following_url":"https://api.github.com/users/msarahan/following{/other_user}","gists_url":"https://api.github.com/users/msarahan/gists{/gist_id}","starred_url":"https://api.github.com/users/msarahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msarahan/subscriptions","organizations_url":"https://api.github.com/users/msarahan/orgs","repos_url":"https://api.github.com/users/msarahan/repos","events_url":"https://api.github.com/users/msarahan/events{/privacy}","received_events_url":"https://api.github.com/users/msarahan/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-09-07T02:06:13Z","updated_at":"2016-09-07T02:06:13Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-08-31T16:32:59Z","updated_at":"2016-09-07T19:46:21Z","closed_at":null,"body":"I have a custom package I've built in a regular Python environment - I now have it sourced in a tar file widget-1.0.tar. I am trying to get this installed in my Anaconda environment. I've build a meta.yaml file as follows to install from a local path:\r\n\r\n    package:\r\n      name: widget\r\n    \r\n    source:\r\n      fn: widget-1.0.tar\r\n      path: C:\\Users\\user\\Documents\\widget\\dist\\widget-1.0.tar\r\n    \r\n    build:\r\n      number: 0\r\n\r\nBut when I run conda build widget I get the following unexpected error:\r\n\r\nC:\\Users\\user\\Documents\\Biv Pois>conda build widget\r\nRemoving old build environment\r\nRemoving old work directory\r\nBUILD START: widget--0\r\nRemoving old work directory\r\nSource cache directory is: C:\\Users\\user\\Anaconda\\conda-bld\\src_cache\r\nDownloading source to cache: widget-1.0.tar\r\nAn unexpected error has occurred, please consider sending the\r\nfollowing traceback to the conda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda-build/issues\r\n\r\nInclude the output of the command 'conda info' in your report.\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\user\\Anaconda\\Scripts\\conda-build-script.py\", line 4, in <modul\r\ne>\r\n    sys.exit(main())\r\n  File \"C:\\Users\\user\\Anaconda\\lib\\site-packages\\conda_build\\main_build.py\", lin\r\ne 190, in main\r\n    args_func(args, p)\r\n  File \"C:\\Users\\user\\Anaconda\\lib\\site-packages\\conda_build\\main_build.py\", lin\r\ne 429, in args_func\r\n    args.func(args, p)\r\n  File \"C:\\Users\\user\\Anaconda\\lib\\site-packages\\conda_build\\main_build.py\", lin\r\ne 384, in execute\r\n    override_channels=args.override_channels, include_recipe=args.include_recipe\r\n)\r\n  File \"C:\\Users\\user\\Anaconda\\lib\\site-packages\\conda_build\\build.py\", line 384\r\n, in build\r\n    source.provide(m.path, m.get_section('source'))\r\n  File \"C:\\Users\\user\\Anaconda\\lib\\site-packages\\conda_build\\source.py\", line 25\r\n1, in provide\r\n    unpack(meta)\r\n  File \"C:\\Users\\user\\Anaconda\\lib\\site-packages\\conda_build\\source.py\", line 74\r\n, in unpack\r\n    src_path = download_to_cache(meta)\r\n  File \"C:\\Users\\user\\Anaconda\\lib\\site-packages\\conda_build\\source.py\", line 49\r\n, in download_to_cache\r\n    if not isinstance(meta['url'], list):\r\nKeyError: 'url'\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/245394859","html_url":"https://github.com/conda/conda-build/issues/567#issuecomment-245394859","issue_url":"https://api.github.com/repos/conda/conda-build/issues/567","id":245394859,"user":{"login":"jehturner","id":322026,"avatar_url":"https://avatars.githubusercontent.com/u/322026?v=3","gravatar_id":"","url":"https://api.github.com/users/jehturner","html_url":"https://github.com/jehturner","followers_url":"https://api.github.com/users/jehturner/followers","following_url":"https://api.github.com/users/jehturner/following{/other_user}","gists_url":"https://api.github.com/users/jehturner/gists{/gist_id}","starred_url":"https://api.github.com/users/jehturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jehturner/subscriptions","organizations_url":"https://api.github.com/users/jehturner/orgs","repos_url":"https://api.github.com/users/jehturner/repos","events_url":"https://api.github.com/users/jehturner/events{/privacy}","received_events_url":"https://api.github.com/users/jehturner/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T19:46:21Z","updated_at":"2016-09-07T19:46:21Z","body":"OK, great & thanks for the pointer; I'll look into doing something like that."}}
{"actor":{"display_login":"jehturner"}}