{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/21568","labels_url":"https://api.github.com/repos/saltstack/salt/issues/21568/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/21568/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/21568/events","html_url":"https://github.com/saltstack/salt/pull/21568","id":60728234,"number":21568,"title":"Don't obfuscate internal distutils attributes","user":{"login":"jfindlay","id":702905,"avatar_url":"https://avatars.githubusercontent.com/u/702905?v=3","gravatar_id":"","url":"https://api.github.com/users/jfindlay","html_url":"https://github.com/jfindlay","followers_url":"https://api.github.com/users/jfindlay/followers","following_url":"https://api.github.com/users/jfindlay/following{/other_user}","gists_url":"https://api.github.com/users/jfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfindlay/subscriptions","organizations_url":"https://api.github.com/users/jfindlay/orgs","repos_url":"https://api.github.com/users/jfindlay/repos","events_url":"https://api.github.com/users/jfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/jfindlay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Medium%20Change","name":"Medium Change","color":"c7def8"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Tests%20Passed","name":"Tests Passed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T20:56:32Z","updated_at":"2015-03-12T00:36:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/21568","html_url":"https://github.com/saltstack/salt/pull/21568","diff_url":"https://github.com/saltstack/salt/pull/21568.diff","patch_url":"https://github.com/saltstack/salt/pull/21568.patch"},"body":"Related to #21559, fixes #21522.\r\n\r\n@s0undt3ch"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/78403199","html_url":"https://github.com/saltstack/salt/pull/21568#issuecomment-78403199","issue_url":"https://api.github.com/repos/saltstack/salt/issues/21568","id":78403199,"user":{"login":"s0undt3ch","id":300048,"avatar_url":"https://avatars.githubusercontent.com/u/300048?v=3","gravatar_id":"","url":"https://api.github.com/users/s0undt3ch","html_url":"https://github.com/s0undt3ch","followers_url":"https://api.github.com/users/s0undt3ch/followers","following_url":"https://api.github.com/users/s0undt3ch/following{/other_user}","gists_url":"https://api.github.com/users/s0undt3ch/gists{/gist_id}","starred_url":"https://api.github.com/users/s0undt3ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0undt3ch/subscriptions","organizations_url":"https://api.github.com/users/s0undt3ch/orgs","repos_url":"https://api.github.com/users/s0undt3ch/repos","events_url":"https://api.github.com/users/s0undt3ch/events{/privacy}","received_events_url":"https://api.github.com/users/s0undt3ch/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T00:36:33Z","updated_at":"2015-03-12T00:36:33Z","body":"Dam! You beat me to it :smile: \r\n\r\nI have a pretty close solution:\r\n```diff\r\ndiff --git a/setup.py b/setup.py\r\nindex c950d9f..626b040 100755\r\n--- a/setup.py\r\n+++ b/setup.py\r\n@@ -532,11 +532,11 @@ class SaltDistribution(distutils.dist.Distribution):\r\n         self.salt_transport = None\r\n \r\n         self.name = 'salt-ssh' if PACKAGED_FOR_SALT_SSH else 'salt'\r\n-        self.salt_version = __version__  # pylint: disable=undefined-variable\r\n-        self.description = 'Portable, distributed, remote execution and configuration management system'\r\n-        self.author = 'Thomas S Hatch'\r\n-        self.author_email = 'thatch45@gmail.com'\r\n-        self.url = 'http://saltstack.org'\r\n+        self._salt_version = __version__  # pylint: disable=undefined-variable\r\n+        self._salt_description = 'Portable, distributed, remote execution and configuration management system'\r\n+        self._salt_author = 'Thomas S Hatch'\r\n+        self._salt_author_email = 'thatch45@gmail.com'\r\n+        self._salt_url = 'http://saltstack.org'\r\n         self.cmdclass.update({'test': TestCommand,\r\n                               'clean': Clean,\r\n                               'build': Build,\r\n@@ -562,8 +562,8 @@ class SaltDistribution(distutils.dist.Distribution):\r\n             attrvalue = getattr(self, attrname, None)\r\n             if attrvalue == 0:\r\n                 continue\r\n-            if attrname == 'salt_version':\r\n-                attrname = 'version'\r\n+            if attrname.startswith('_salt_'):\r\n+                attrname = attrname.split('_salt_')[-1]\r\n             if hasattr(self.metadata, 'set_{0}'.format(attrname)):\r\n                 getattr(self.metadata, 'set_{0}'.format(attrname))(attrvalue)\r\n             elif hasattr(self.metadata, attrname):\r\n```"}}