com.googler.python 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mkshrc.sh CHANGED
@@ -1,2 +1,4 @@
1
+ unset PYTHONHOME PYTHONPATH
2
+
1
3
  export PYTHONHOME="$PREFIX/lib/node_modules/com.googler.python/python3.4.2"
2
4
  export PYTHONPATH="$PYTHONHOME/lib/python3.4"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.googler.python",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "bin": {
5
5
  "idle3": "./python3.4.2/bin/idle3",
6
6
  "idle3.4": "./python3.4.2/bin/idle3.4",
@@ -56,8 +56,7 @@ def __get_username():
56
56
  """ Returns the effective username of the current process. """
57
57
  if sys.platform == 'win32':
58
58
  return getpass.getuser()
59
- import pwd
60
- return pwd.getpwuid(os.geteuid()).pw_name
59
+ return os.getenv("USER")
61
60
 
62
61
  def _get_build_prefix():
63
62
  """ Returns a safe build_prefix """