{"action":"created","issue":{"url":"https://api.github.com/repos/jromang/picochess/issues/138","labels_url":"https://api.github.com/repos/jromang/picochess/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/jromang/picochess/issues/138/comments","events_url":"https://api.github.com/repos/jromang/picochess/issues/138/events","html_url":"https://github.com/jromang/picochess/pull/138","id":106532834,"number":138,"title":"Suggestion: Drop published libs in favor of using pip","user":{"login":"niklasf","id":402777,"avatar_url":"https://avatars.githubusercontent.com/u/402777?v=3","gravatar_id":"","url":"https://api.github.com/users/niklasf","html_url":"https://github.com/niklasf","followers_url":"https://api.github.com/users/niklasf/followers","following_url":"https://api.github.com/users/niklasf/following{/other_user}","gists_url":"https://api.github.com/users/niklasf/gists{/gist_id}","starred_url":"https://api.github.com/users/niklasf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niklasf/subscriptions","organizations_url":"https://api.github.com/users/niklasf/orgs","repos_url":"https://api.github.com/users/niklasf/repos","events_url":"https://api.github.com/users/niklasf/events{/privacy}","received_events_url":"https://api.github.com/users/niklasf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-15T11:04:20Z","updated_at":"2015-09-16T13:33:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jromang/picochess/pulls/138","html_url":"https://github.com/jromang/picochess/pull/138","diff_url":"https://github.com/jromang/picochess/pull/138.diff","patch_url":"https://github.com/jromang/picochess/pull/138.patch"},"body":"Can I convince you to drop published libraries from the libs from the libs directory? This is just a suggestion - as always feel free to reject this.\r\n\r\nIt's a lot cleaner to keep track of dependencies using `pip`. The workflow using `pip` would then be:\r\n\r\nInstall all dependencies:\r\n```\r\n$ pip install --upgrade -r  requirements.txt\r\n[...]\r\nCleaning up...\r\n```\r\n\r\nList installed dependencies:\r\n```\r\n$ pip list\r\ncrypto (1.4.1)\r\necdsa (0.11)\r\nFlask (0.10.1)\r\nitsdangerous (0.24)\r\nJinja2 (2.8)\r\nMarkupSafe (0.23)\r\nNaked (0.1.31)\r\nparamiko (1.15.2)\r\npip (1.5.6)\r\npycrypto (2.6.1)\r\npyserial (2.7)\r\npython-chess (0.11.1)\r\nPyYAML (3.11)\r\nrequests (2.7.0)\r\nsetuptools (18.0.1)\r\nshellescape (3.4.1)\r\nspur (0.3.14)\r\ntornado (4.2.1)\r\nWerkzeug (0.10.4)\r\n```\r\n\r\nList just the ones that need an update:\r\n```\r\n$ pip list --outdated\r\necdsa (Current: 0.11 Latest: 0.13)\r\nsetuptools (Current: 18.0.1 Latest: 18.3.1)\r\npip (Current: 1.5.6 Latest: 7.1.2)\r\n```\r\n\r\nUpgrade:\r\n```\r\n$ pip install --upgrade ecdsa\r\nDownloading/unpacking ecdsa from https://pypi.python.org/packages/2.7/e/ecdsa/ecdsa-0.13-py2.py3-none-any.whl#md5=a325d50195d049599f9b578ec4417bc6\r\n  Downloading ecdsa-0.13-py2.py3-none-any.whl (86kB): 86kB downloaded\r\nInstalling collected packages: ecdsa\r\n  Found existing installation: ecdsa 0.11\r\n    Uninstalling ecdsa:\r\n      Successfully uninstalled ecdsa\r\nSuccessfully installed ecdsa\r\nCleaning up...\r\n```\r\n\r\nDo some testing. Then save current versions to `requirements.txt`:\r\n```\r\npip freeze > requirements.txt\r\n```"},"comment":{"url":"https://api.github.com/repos/jromang/picochess/issues/comments/140743838","html_url":"https://github.com/jromang/picochess/pull/138#issuecomment-140743838","issue_url":"https://api.github.com/repos/jromang/picochess/issues/138","id":140743838,"user":{"login":"niklasf","id":402777,"avatar_url":"https://avatars.githubusercontent.com/u/402777?v=3","gravatar_id":"","url":"https://api.github.com/users/niklasf","html_url":"https://github.com/niklasf","followers_url":"https://api.github.com/users/niklasf/followers","following_url":"https://api.github.com/users/niklasf/following{/other_user}","gists_url":"https://api.github.com/users/niklasf/gists{/gist_id}","starred_url":"https://api.github.com/users/niklasf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niklasf/subscriptions","organizations_url":"https://api.github.com/users/niklasf/orgs","repos_url":"https://api.github.com/users/niklasf/repos","events_url":"https://api.github.com/users/niklasf/events{/privacy}","received_events_url":"https://api.github.com/users/niklasf/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T13:33:35Z","updated_at":"2015-09-16T13:33:35Z","body":"@sshivaji: That's great. (I just didn't want to bring up too many things at once.) Are there any problems when you try to use virtualenv with picochess? It works for me using the `requirements.txt` from this PR."}}