{"action":"created","issue":{"url":"https://api.github.com/repos/firecat53/urlscan/issues/30","labels_url":"https://api.github.com/repos/firecat53/urlscan/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/firecat53/urlscan/issues/30/comments","events_url":"https://api.github.com/repos/firecat53/urlscan/issues/30/events","html_url":"https://github.com/firecat53/urlscan/issues/30","id":127138038,"number":30,"title":"Debian package","user":{"login":"davidCarlos","id":2847027,"avatar_url":"https://avatars.githubusercontent.com/u/2847027?v=3","gravatar_id":"","url":"https://api.github.com/users/davidCarlos","html_url":"https://github.com/davidCarlos","followers_url":"https://api.github.com/users/davidCarlos/followers","following_url":"https://api.github.com/users/davidCarlos/following{/other_user}","gists_url":"https://api.github.com/users/davidCarlos/gists{/gist_id}","starred_url":"https://api.github.com/users/davidCarlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidCarlos/subscriptions","organizations_url":"https://api.github.com/users/davidCarlos/orgs","repos_url":"https://api.github.com/users/davidCarlos/repos","events_url":"https://api.github.com/users/davidCarlos/events{/privacy}","received_events_url":"https://api.github.com/users/davidCarlos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-18T01:14:27Z","updated_at":"2016-01-19T04:34:24Z","closed_at":null,"body":"Hey firecat53, i am packing the newest release of urlscan to Debian. I'm having a problem with bin/urlscan file. Normally this file is in the root of the project, e.g urlscan 0.5.6. I would like to know if move this file to urlscan's  dir would be a big problem to the project. \r\n\r\nThe issue is when urlscan tries to import urlchoose and urlscan files\r\n          ```\r\n                from urlscan import urlchoose, urlscan\r\n            ```\r\nIf i leave just ` import urlchoose, urlscan` and puts urlscan file inside urlscan directory, everything works well.\r\n\r\nI checked  some python packages on Debian, and normally this script file, that in the package goes in /usr/bin/, stays in the project's root directory."},"comment":{"url":"https://api.github.com/repos/firecat53/urlscan/issues/comments/172734642","html_url":"https://github.com/firecat53/urlscan/issues/30#issuecomment-172734642","issue_url":"https://api.github.com/repos/firecat53/urlscan/issues/30","id":172734642,"user":{"login":"firecat53","id":568113,"avatar_url":"https://avatars.githubusercontent.com/u/568113?v=3","gravatar_id":"","url":"https://api.github.com/users/firecat53","html_url":"https://github.com/firecat53","followers_url":"https://api.github.com/users/firecat53/followers","following_url":"https://api.github.com/users/firecat53/following{/other_user}","gists_url":"https://api.github.com/users/firecat53/gists{/gist_id}","starred_url":"https://api.github.com/users/firecat53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firecat53/subscriptions","organizations_url":"https://api.github.com/users/firecat53/orgs","repos_url":"https://api.github.com/users/firecat53/repos","events_url":"https://api.github.com/users/firecat53/events{/privacy}","received_events_url":"https://api.github.com/users/firecat53/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T04:34:24Z","updated_at":"2016-01-19T04:34:24Z","body":"I did some testing today inside a Debian Jessie Docker container following the instructions [here](https://pypi.python.org/pypi/stdeb/0.8.5#quickstart-3-i-read-the-warning-so-show-me-how-to-make-a-source-package-then-compile-it) using the stdeb Python to Debian package conversion utility. Worked great, near as I can tell:\r\n\r\n    apt-get update && apt-get install python-stdeb dh-python\r\n    pypi-download urlscan\r\n    py2dsc urlscan-0.8.2.tar.gz\r\n    cd deb-dist/urlscan-0.8.2\r\n    dpkg-buildpackage -rfakeroot -uc -us\r\n    cd ..\r\n    dpkg -i python-urlscan_0.8.2-1_all.deb\r\n    apt-get -f install\r\n\r\nSeems to install and run just fine.\r\n\r\nScott"}}