{"action":"created","issue":{"url":"https://api.github.com/repos/rk700/PyMuPDF/issues/151","repository_url":"https://api.github.com/repos/rk700/PyMuPDF","labels_url":"https://api.github.com/repos/rk700/PyMuPDF/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/rk700/PyMuPDF/issues/151/comments","events_url":"https://api.github.com/repos/rk700/PyMuPDF/issues/151/events","html_url":"https://github.com/rk700/PyMuPDF/issues/151","id":307102913,"number":151,"title":"Travis CI Generation of Wheels","user":{"login":"JorjMcKie","id":8290722,"avatar_url":"https://avatars1.githubusercontent.com/u/8290722?v=4","gravatar_id":"","url":"https://api.github.com/users/JorjMcKie","html_url":"https://github.com/JorjMcKie","followers_url":"https://api.github.com/users/JorjMcKie/followers","following_url":"https://api.github.com/users/JorjMcKie/following{/other_user}","gists_url":"https://api.github.com/users/JorjMcKie/gists{/gist_id}","starred_url":"https://api.github.com/users/JorjMcKie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorjMcKie/subscriptions","organizations_url":"https://api.github.com/users/JorjMcKie/orgs","repos_url":"https://api.github.com/users/JorjMcKie/repos","events_url":"https://api.github.com/users/JorjMcKie/events{/privacy}","received_events_url":"https://api.github.com/users/JorjMcKie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-21T02:37:43Z","updated_at":"2018-03-22T08:44:30Z","closed_at":"2018-03-21T10:51:01Z","author_association":"COLLABORATOR","body":"The tests for Linux meanwhile have been successful. The test PyPI site now has wheels for all relevant Python versions.\r\n\r\nThe Travis environment for MacOS seems not to have twine installed, so that upload to PyPI (Test or production) fails.\r\n\r\nAnother, more general issue is, that the Travis environemt generates MuPDF directly from the downloaded vanilla version. This leads to very large wheels (> 26 MB), because unnecessary NOTO fonts are included in the binaries. Excluding unneeded stuff has the potential of bringing down the binary size to below 5 MB, and, correspondingly the wheel size down to below 3 MB.\r\n\r\nI am not sure how to resolve these open points.\r\n\r\nThe size issue may be resolved by creating an own MuPDF repo with the desired configuration set. I have no idea on how to mix my own config.h with the vanilla download of MuPDF in a way understable for Travis.\r\n\r\nNeither do I know how to inject twine into the Travis MacOS."},"comment":{"url":"https://api.github.com/repos/rk700/PyMuPDF/issues/comments/375220174","html_url":"https://github.com/rk700/PyMuPDF/issues/151#issuecomment-375220174","issue_url":"https://api.github.com/repos/rk700/PyMuPDF/issues/151","id":375220174,"user":{"login":"JorjMcKie","id":8290722,"avatar_url":"https://avatars1.githubusercontent.com/u/8290722?v=4","gravatar_id":"","url":"https://api.github.com/users/JorjMcKie","html_url":"https://github.com/JorjMcKie","followers_url":"https://api.github.com/users/JorjMcKie/followers","following_url":"https://api.github.com/users/JorjMcKie/following{/other_user}","gists_url":"https://api.github.com/users/JorjMcKie/gists{/gist_id}","starred_url":"https://api.github.com/users/JorjMcKie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorjMcKie/subscriptions","organizations_url":"https://api.github.com/users/JorjMcKie/orgs","repos_url":"https://api.github.com/users/JorjMcKie/repos","events_url":"https://api.github.com/users/JorjMcKie/events{/privacy}","received_events_url":"https://api.github.com/users/JorjMcKie/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T08:44:30Z","updated_at":"2018-03-22T08:44:30Z","author_association":"COLLABORATOR","body":"Thanks again.\r\nYou may have noticed that productive PyPI now, finally, contains those Linux and MacOS wheels.\r\nUfff!\r\nHaving experiened all this hassle, I am more than before willing to let the generated wheels land in my own wheel repository ... and load them up to PyPI whenever I think it is the right time.\r\n\r\nSo I need to modify travis.yml accordingly. I have studied the Travis docs and found github release deployment for this purpose.\r\n\r\nWhat I need to do is adding an appropriate deployment section, adding the name of my GitHub repo there and enter my personal credentials as well.\r\n\r\nFor the Windows wheels I have created my own stuff. As I am  working on Windows myself, I have all Python versions installed and test the generated wheels on my machine before I publish them. This process is very fast (about 1 minute for building all Pythons and all bitnesses). So I would not benefit from anything like Travis or Appveyor - in addition to that I am also maintaining the documentation content and media production, integrated with the rest of my machinery.\r\n\r\nActually Linux and MacOS wheels were my only missing pieces and I am more than happy to now having a solution for this, too!\r\n\r\nThanks a lot for your guidance!"}}
{"actor":{"display_login":"JorjMcKie"}}