{"action":"created","issue":{"url":"https://api.github.com/repos/ucbrise/clipper/issues/165","repository_url":"https://api.github.com/repos/ucbrise/clipper","labels_url":"https://api.github.com/repos/ucbrise/clipper/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/ucbrise/clipper/issues/165/comments","events_url":"https://api.github.com/repos/ucbrise/clipper/issues/165/events","html_url":"https://github.com/ucbrise/clipper/pull/165","id":230084726,"number":165,"title":"[CLIPPER-154] Make a pip package","user":{"login":"nishadsingh1","id":6938722,"avatar_url":"https://avatars0.githubusercontent.com/u/6938722?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadsingh1","html_url":"https://github.com/nishadsingh1","followers_url":"https://api.github.com/users/nishadsingh1/followers","following_url":"https://api.github.com/users/nishadsingh1/following{/other_user}","gists_url":"https://api.github.com/users/nishadsingh1/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadsingh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadsingh1/subscriptions","organizations_url":"https://api.github.com/users/nishadsingh1/orgs","repos_url":"https://api.github.com/users/nishadsingh1/repos","events_url":"https://api.github.com/users/nishadsingh1/events{/privacy}","received_events_url":"https://api.github.com/users/nishadsingh1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nishadsingh1","id":6938722,"avatar_url":"https://avatars0.githubusercontent.com/u/6938722?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadsingh1","html_url":"https://github.com/nishadsingh1","followers_url":"https://api.github.com/users/nishadsingh1/followers","following_url":"https://api.github.com/users/nishadsingh1/following{/other_user}","gists_url":"https://api.github.com/users/nishadsingh1/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadsingh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadsingh1/subscriptions","organizations_url":"https://api.github.com/users/nishadsingh1/orgs","repos_url":"https://api.github.com/users/nishadsingh1/repos","events_url":"https://api.github.com/users/nishadsingh1/events{/privacy}","received_events_url":"https://api.github.com/users/nishadsingh1/received_events","type":"User","site_admin":false},"assignees":[{"login":"nishadsingh1","id":6938722,"avatar_url":"https://avatars0.githubusercontent.com/u/6938722?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadsingh1","html_url":"https://github.com/nishadsingh1","followers_url":"https://api.github.com/users/nishadsingh1/followers","following_url":"https://api.github.com/users/nishadsingh1/following{/other_user}","gists_url":"https://api.github.com/users/nishadsingh1/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadsingh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadsingh1/subscriptions","organizations_url":"https://api.github.com/users/nishadsingh1/orgs","repos_url":"https://api.github.com/users/nishadsingh1/repos","events_url":"https://api.github.com/users/nishadsingh1/events{/privacy}","received_events_url":"https://api.github.com/users/nishadsingh1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2017-05-19T20:43:22Z","updated_at":"2017-05-22T17:27:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ucbrise/clipper/pulls/165","html_url":"https://github.com/ucbrise/clipper/pull/165","diff_url":"https://github.com/ucbrise/clipper/pull/165.diff","patch_url":"https://github.com/ucbrise/clipper/pull/165.patch"},"body":"To test out the functionality of this PR:\r\n\r\n**Create accounts on TestPyPI and PyPI:**\r\nhttps://testpypi.python.org/pypi?%3Aaction=login_form\r\nhttps://pypi.python.org/pypi?%3Aaction=login_form\r\n\r\n**Create a file  ~/.pypirc with the following contents:**\r\n```\r\n[distutils]\r\nindex-servers =\r\n  pypi\r\n  testpypi\r\n\r\n[pypi]\r\nrepository=https://pypi.python.org/pypi\r\nusername=your_username\r\npassword=your_password\r\n\r\n[pypitest]\r\nrepository=https://testpypi.python.org/pypi\r\nusername=your_username\r\npassword=your_password\r\n```\r\n\r\nBecause this file contains your credentials in plaintext, change its read/write permissions:\r\n`chmod 600 ~/.pypirc`\r\n\r\n**Upload our pip package to PyPI Testing server:**\r\n`python setup.py register -r testpypi`\r\n`python setup.py sdist upload -r testpypi`\r\n\r\n**Install from PyPi Testing server:**\r\npip install -i https://testpypi.python.org/pypi clipper_admin\r\n\r\n**Give it a go:**\r\n```\r\nimport clipper_admin.clipper_manager as cm\r\nclipper = cm.Clipper(\"localhost\", \"\", \"\")\r\nclipper.start()\r\n```\r\n\r\n**Upload our pip package to real PyPi server:**\r\n`python setup.py register -r pypi`\r\n`python setup.py sdist upload -r pypi`\r\n\r\n**Install from real PyPi server:**\r\n`pip uninstall clipper_admin` (to get rid of the one from the testing server)\r\n`pip install clipper_admin`\r\n\r\nhttps://clipper.atlassian.net/projects/CLIPPER/issues/CLIPPER-154"},"comment":{"url":"https://api.github.com/repos/ucbrise/clipper/issues/comments/303166628","html_url":"https://github.com/ucbrise/clipper/pull/165#issuecomment-303166628","issue_url":"https://api.github.com/repos/ucbrise/clipper/issues/165","id":303166628,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars0.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2017-05-22T17:27:57Z","updated_at":"2017-05-22T17:27:57Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/326/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}