{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/531","labels_url":"https://api.github.com/repos/conda/conda-build/issues/531/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/531/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/531/events","html_url":"https://github.com/conda/conda-build/issues/531","id":99675211,"number":531,"title":"conda build fails","user":{"login":"ericmjl","id":2631566,"avatar_url":"https://avatars.githubusercontent.com/u/2631566?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmjl","html_url":"https://github.com/ericmjl","followers_url":"https://api.github.com/users/ericmjl/followers","following_url":"https://api.github.com/users/ericmjl/following{/other_user}","gists_url":"https://api.github.com/users/ericmjl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmjl/subscriptions","organizations_url":"https://api.github.com/users/ericmjl/orgs","repos_url":"https://api.github.com/users/ericmjl/repos","events_url":"https://api.github.com/users/ericmjl/events{/privacy}","received_events_url":"https://api.github.com/users/ericmjl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-07T15:47:22Z","updated_at":"2015-08-28T11:42:36Z","closed_at":"2015-08-28T11:42:36Z","body":"I have a project that I've been working on, to make protein genotype networks. https://github.com/ericmjl/genotype-network\r\n\r\nThere's a corresponding PyPI upload: https://pypi.python.org/pypi/genotype_network/0.1.4\r\n\r\nI tried doing `conda skeleton pypi genotype_network`. All is good there.\r\n\r\nThen I tried doing `conda build`, where I also have `binstar` upload automatically done. I get the following error:\r\n\r\n\t===== testing package: genotype_network-0.1.4-py34_0 =====\r\n\timport: 'genotype_network'\r\n\t===== genotype_network-0.1.4-py34_0 OK =====\r\n\t+ sample --help\r\n\tTraceback (most recent call last):\r\n\t  File \"/Users/ericmjl/anaconda/envs/_test/bin/sample\", line 4, in <module>\r\n\t    from sample import main\r\n\tImportError: No module named 'sample'\r\n\tTESTS FAILED: genotype_network-0.1.4-py34_0\r\n\r\nI cannot seem to figure out why conda build is trying to do `from sample import main`. Is there an explanation for this?"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/135746694","html_url":"https://github.com/conda/conda-build/issues/531#issuecomment-135746694","issue_url":"https://api.github.com/repos/conda/conda-build/issues/531","id":135746694,"user":{"login":"ericmjl","id":2631566,"avatar_url":"https://avatars.githubusercontent.com/u/2631566?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmjl","html_url":"https://github.com/ericmjl","followers_url":"https://api.github.com/users/ericmjl/followers","following_url":"https://api.github.com/users/ericmjl/following{/other_user}","gists_url":"https://api.github.com/users/ericmjl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmjl/subscriptions","organizations_url":"https://api.github.com/users/ericmjl/orgs","repos_url":"https://api.github.com/users/ericmjl/repos","events_url":"https://api.github.com/users/ericmjl/events{/privacy}","received_events_url":"https://api.github.com/users/ericmjl/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T11:42:36Z","updated_at":"2015-08-28T11:42:36Z","body":"Oh my oh my. This was totally a newbie error on my part. Thanks for the help!!!"}}