{"action":"created","comment":{"url":"https://api.github.com/repos/conda/conda-build/pulls/comments/34825092","id":34825092,"diff_hunk":"@@ -32,6 +36,12 @@ def main():\n         nargs='+',\n         help=\"Path to the source directory.\"\n     )\n+    p.add_argument(\n+                   '-l', '--post-link',","path":"conda_build/main_develop.py","position":23,"original_position":23,"commit_id":"6035f060331158266b95025b87a8c01e70430a94","original_commit_id":"6035f060331158266b95025b87a8c01e70430a94","user":{"login":"sandhujasmine","id":359129,"avatar_url":"https://avatars.githubusercontent.com/u/359129?v=3","gravatar_id":"","url":"https://api.github.com/users/sandhujasmine","html_url":"https://github.com/sandhujasmine","followers_url":"https://api.github.com/users/sandhujasmine/followers","following_url":"https://api.github.com/users/sandhujasmine/following{/other_user}","gists_url":"https://api.github.com/users/sandhujasmine/gists{/gist_id}","starred_url":"https://api.github.com/users/sandhujasmine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandhujasmine/subscriptions","organizations_url":"https://api.github.com/users/sandhujasmine/orgs","repos_url":"https://api.github.com/users/sandhujasmine/repos","events_url":"https://api.github.com/users/sandhujasmine/events{/privacy}","received_events_url":"https://api.github.com/users/sandhujasmine/received_events","type":"User","site_admin":false},"body":"You can test against: https://github.com/sandhujasmine/CythonExample\r\n\r\nOne reason to not do this by default is more flexibility. In this case since conda develop doesn't yet build the extensions, user can do ./setup.py develop, then invoke --post-link. It gives the flexibility to use --post-link with setup commands.\r\n\r\nOnce we add a --build_ext command to conda develop, it should by default do the post-link after building extensions.","created_at":"2015-07-16T19:01:16Z","updated_at":"2015-07-16T19:01:16Z","html_url":"https://github.com/conda/conda-build/pull/490#discussion_r34825092","pull_request_url":"https://api.github.com/repos/conda/conda-build/pulls/490","_links":{"self":{"href":"https://api.github.com/repos/conda/conda-build/pulls/comments/34825092"},"html":{"href":"https://github.com/conda/conda-build/pull/490#discussion_r34825092"},"pull_request":{"href":"https://api.github.com/repos/conda/conda-build/pulls/490"}}},"pull_request":{"url":"https://api.github.com/repos/conda/conda-build/pulls/490","id":40155757,"html_url":"https://github.com/conda/conda-build/pull/490","diff_url":"https://github.com/conda/conda-build/pull/490.diff","patch_url":"https://github.com/conda/conda-build/pull/490.patch","issue_url":"https://api.github.com/repos/conda/conda-build/issues/490","number":490,"state":"open","locked":false,"title":"Added conda develop --post-link","user":{"login":"sandhujasmine","id":359129,"avatar_url":"https://avatars.githubusercontent.com/u/359129?v=3","gravatar_id":"","url":"https://api.github.com/users/sandhujasmine","html_url":"https://github.com/sandhujasmine","followers_url":"https://api.github.com/users/sandhujasmine/followers","following_url":"https://api.github.com/users/sandhujasmine/following{/other_user}","gists_url":"https://api.github.com/users/sandhujasmine/gists{/gist_id}","starred_url":"https://api.github.com/users/sandhujasmine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandhujasmine/subscriptions","organizations_url":"https://api.github.com/users/sandhujasmine/orgs","repos_url":"https://api.github.com/users/sandhujasmine/repos","events_url":"https://api.github.com/users/sandhujasmine/events{/privacy}","received_events_url":"https://api.github.com/users/sandhujasmine/received_events","type":"User","site_admin":false},"body":"added --post-link option for develop command\r\n    - looks in package directory for *.so and ensures they link against\r\n      libraries in conda environment\r\n    - build_prefix points to current conda environment\r\n    - 'path' of executable (*.so) is not in build_prefix","created_at":"2015-07-16T17:42:48Z","updated_at":"2015-07-16T19:01:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a8ee38fb21403b8c92b9c4927695a26b69743e6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/conda/conda-build/pulls/490/commits","review_comments_url":"https://api.github.com/repos/conda/conda-build/pulls/490/comments","review_comment_url":"https://api.github.com/repos/conda/conda-build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/490/comments","statuses_url":"https://api.github.com/repos/conda/conda-build/statuses/6035f060331158266b95025b87a8c01e70430a94","head":{"label":"sandhujasmine:develop-post-link","ref":"develop-post-link","sha":"6035f060331158266b95025b87a8c01e70430a94","user":{"login":"sandhujasmine","id":359129,"avatar_url":"https://avatars.githubusercontent.com/u/359129?v=3","gravatar_id":"","url":"https://api.github.com/users/sandhujasmine","html_url":"https://github.com/sandhujasmine","followers_url":"https://api.github.com/users/sandhujasmine/followers","following_url":"https://api.github.com/users/sandhujasmine/following{/other_user}","gists_url":"https://api.github.com/users/sandhujasmine/gists{/gist_id}","starred_url":"https://api.github.com/users/sandhujasmine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandhujasmine/subscriptions","organizations_url":"https://api.github.com/users/sandhujasmine/orgs","repos_url":"https://api.github.com/users/sandhujasmine/repos","events_url":"https://api.github.com/users/sandhujasmine/events{/privacy}","received_events_url":"https://api.github.com/users/sandhujasmine/received_events","type":"User","site_admin":false},"repo":{"id":38275531,"name":"conda-build","full_name":"sandhujasmine/conda-build","owner":{"login":"sandhujasmine","id":359129,"avatar_url":"https://avatars.githubusercontent.com/u/359129?v=3","gravatar_id":"","url":"https://api.github.com/users/sandhujasmine","html_url":"https://github.com/sandhujasmine","followers_url":"https://api.github.com/users/sandhujasmine/followers","following_url":"https://api.github.com/users/sandhujasmine/following{/other_user}","gists_url":"https://api.github.com/users/sandhujasmine/gists{/gist_id}","starred_url":"https://api.github.com/users/sandhujasmine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandhujasmine/subscriptions","organizations_url":"https://api.github.com/users/sandhujasmine/orgs","repos_url":"https://api.github.com/users/sandhujasmine/repos","events_url":"https://api.github.com/users/sandhujasmine/events{/privacy}","received_events_url":"https://api.github.com/users/sandhujasmine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sandhujasmine/conda-build","description":"Commands and tools for building conda packages","fork":true,"url":"https://api.github.com/repos/sandhujasmine/conda-build","forks_url":"https://api.github.com/repos/sandhujasmine/conda-build/forks","keys_url":"https://api.github.com/repos/sandhujasmine/conda-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandhujasmine/conda-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandhujasmine/conda-build/teams","hooks_url":"https://api.github.com/repos/sandhujasmine/conda-build/hooks","issue_events_url":"https://api.github.com/repos/sandhujasmine/conda-build/issues/events{/number}","events_url":"https://api.github.com/repos/sandhujasmine/conda-build/events","assignees_url":"https://api.github.com/repos/sandhujasmine/conda-build/assignees{/user}","branches_url":"https://api.github.com/repos/sandhujasmine/conda-build/branches{/branch}","tags_url":"https://api.github.com/repos/sandhujasmine/conda-build/tags","blobs_url":"https://api.github.com/repos/sandhujasmine/conda-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandhujasmine/conda-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandhujasmine/conda-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandhujasmine/conda-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandhujasmine/conda-build/statuses/{sha}","languages_url":"https://api.github.com/repos/sandhujasmine/conda-build/languages","stargazers_url":"https://api.github.com/repos/sandhujasmine/conda-build/stargazers","contributors_url":"https://api.github.com/repos/sandhujasmine/conda-build/contributors","subscribers_url":"https://api.github.com/repos/sandhujasmine/conda-build/subscribers","subscription_url":"https://api.github.com/repos/sandhujasmine/conda-build/subscription","commits_url":"https://api.github.com/repos/sandhujasmine/conda-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandhujasmine/conda-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandhujasmine/conda-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandhujasmine/conda-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandhujasmine/conda-build/contents/{+path}","compare_url":"https://api.github.com/repos/sandhujasmine/conda-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandhujasmine/conda-build/merges","archive_url":"https://api.github.com/repos/sandhujasmine/conda-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandhujasmine/conda-build/downloads","issues_url":"https://api.github.com/repos/sandhujasmine/conda-build/issues{/number}","pulls_url":"https://api.github.com/repos/sandhujasmine/conda-build/pulls{/number}","milestones_url":"https://api.github.com/repos/sandhujasmine/conda-build/milestones{/number}","notifications_url":"https://api.github.com/repos/sandhujasmine/conda-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandhujasmine/conda-build/labels{/name}","releases_url":"https://api.github.com/repos/sandhujasmine/conda-build/releases{/id}","created_at":"2015-06-29T22:57:55Z","updated_at":"2015-06-29T22:57:55Z","pushed_at":"2015-07-16T17:34:37Z","git_url":"git://github.com/sandhujasmine/conda-build.git","ssh_url":"git@github.com:sandhujasmine/conda-build.git","clone_url":"https://github.com/sandhujasmine/conda-build.git","svn_url":"https://github.com/sandhujasmine/conda-build","homepage":null,"size":1609,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"conda:master","ref":"master","sha":"04943b1f7f8bee5185e9c81d94c1e785ea98457d","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":16008423,"name":"conda-build","full_name":"conda/conda-build","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda-build","description":"Commands and tools for building conda packages","fork":false,"url":"https://api.github.com/repos/conda/conda-build","forks_url":"https://api.github.com/repos/conda/conda-build/forks","keys_url":"https://api.github.com/repos/conda/conda-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda-build/teams","hooks_url":"https://api.github.com/repos/conda/conda-build/hooks","issue_events_url":"https://api.github.com/repos/conda/conda-build/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda-build/events","assignees_url":"https://api.github.com/repos/conda/conda-build/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda-build/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda-build/tags","blobs_url":"https://api.github.com/repos/conda/conda-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda-build/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda-build/languages","stargazers_url":"https://api.github.com/repos/conda/conda-build/stargazers","contributors_url":"https://api.github.com/repos/conda/conda-build/contributors","subscribers_url":"https://api.github.com/repos/conda/conda-build/subscribers","subscription_url":"https://api.github.com/repos/conda/conda-build/subscription","commits_url":"https://api.github.com/repos/conda/conda-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda/conda-build/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda-build/merges","archive_url":"https://api.github.com/repos/conda/conda-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda-build/downloads","issues_url":"https://api.github.com/repos/conda/conda-build/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda-build/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda-build/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda-build/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda-build/releases{/id}","created_at":"2014-01-17T18:46:21Z","updated_at":"2015-07-11T19:22:52Z","pushed_at":"2015-07-16T17:42:49Z","git_url":"git://github.com/conda/conda-build.git","ssh_url":"git@github.com:conda/conda-build.git","clone_url":"https://github.com/conda/conda-build.git","svn_url":"https://github.com/conda/conda-build","homepage":null,"size":8724,"stargazers_count":22,"watchers_count":22,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":183,"forks":60,"open_issues":183,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda/conda-build/pulls/490"},"html":{"href":"https://github.com/conda/conda-build/pull/490"},"issue":{"href":"https://api.github.com/repos/conda/conda-build/issues/490"},"comments":{"href":"https://api.github.com/repos/conda/conda-build/issues/490/comments"},"review_comments":{"href":"https://api.github.com/repos/conda/conda-build/pulls/490/comments"},"review_comment":{"href":"https://api.github.com/repos/conda/conda-build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda/conda-build/pulls/490/commits"},"statuses":{"href":"https://api.github.com/repos/conda/conda-build/statuses/6035f060331158266b95025b87a8c01e70430a94"}}}}