{"action":"closed","issue":{"url":"https://api.github.com/repos/hakril/PythonForWindows/issues/5","repository_url":"https://api.github.com/repos/hakril/PythonForWindows","labels_url":"https://api.github.com/repos/hakril/PythonForWindows/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/hakril/PythonForWindows/issues/5/comments","events_url":"https://api.github.com/repos/hakril/PythonForWindows/issues/5/events","html_url":"https://github.com/hakril/PythonForWindows/issues/5","id":391415760,"node_id":"MDU6SXNzdWUzOTE0MTU3NjA=","number":5,"title":"winproxy.py missing in dev branch?","user":{"login":"0x2Adr1","id":2210950,"node_id":"MDQ6VXNlcjIyMTA5NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/2210950?v=4","gravatar_id":"","url":"https://api.github.com/users/0x2Adr1","html_url":"https://github.com/0x2Adr1","followers_url":"https://api.github.com/users/0x2Adr1/followers","following_url":"https://api.github.com/users/0x2Adr1/following{/other_user}","gists_url":"https://api.github.com/users/0x2Adr1/gists{/gist_id}","starred_url":"https://api.github.com/users/0x2Adr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x2Adr1/subscriptions","organizations_url":"https://api.github.com/users/0x2Adr1/orgs","repos_url":"https://api.github.com/users/0x2Adr1/repos","events_url":"https://api.github.com/users/0x2Adr1/events{/privacy}","received_events_url":"https://api.github.com/users/0x2Adr1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-15T22:08:05Z","updated_at":"2018-12-17T11:01:29Z","closed_at":"2018-12-17T11:01:29Z","author_association":"NONE","body":"Hey,\r\n\r\n`winproxy.py` is not present in the dev branch, is that expected? Is it supposed to be generated?\r\n\r\nI added some stuff to `kernel32.py`, ran `generate.py` and `setup.py` but since `winproxy.py` is missing I am not able to use my newly added functions.\r\n\r\n```\r\n$ python LoadLibrary.py\r\nTraceback (most recent call last):\r\n  File \"LoadLibrary.py\", line 4, in <module>\r\n    import windows\r\n  File \"C:\\Python27\\lib\\site-packages\\pythonforwindows-0.4-py2.7.egg\\windows\\__init__.py\", line 19, in <module>\r\n    from windows import winproxy\r\nImportError: cannot import name winproxy\r\n```\r\n\r\nSo I edited `setup.py` to include `windows.winproxy` and `windows.winproxy.apis` to the packages list:\r\n\r\n```python\r\nsetup(\r\n    # [...]\r\n    packages = ['windows',\r\n                'windows.crypto',\r\n                'windows.debug',\r\n                'windows.generated_def',\r\n                'windows.native_exec',\r\n                'windows.rpc',\r\n                'windows.utils',\r\n                'windows.winobject',\r\n                'windows.winproxy',           # <----- Added package\r\n                'windows.winproxy.apis'],     # <----- Added package\r\n    classifiers = ['Programming Language :: Python :: 2 :: Only',\r\n                   'Programming Language :: Python :: 2.7']\r\n)\r\n```\r\n\r\nNow it works, but I am not sure if it is the intended way?\r\n\r\nThanks"}}
{"actor":{"display_login":"0x2Adr1"}}