Browse files

Issue #304: Rename PyInstaller.__main__ to PyInstaller.main.

  • Loading branch information...
1 parent 03f7e0e commit 0185b31ca94c0f5e7d3894c996f902470df468e2 @matysek matysek committed Mar 4, 2013
Showing with 3 additions and 3 deletions.
  1. 0 PyInstaller/{__main__.py → main.py}
  2. +1 −1 pyinstaller.py
  3. +1 −1 setup.py
  4. +1 −1 tests/runtests.py
View
0 PyInstaller/__main__.py → PyInstaller/main.py
File renamed without changes.
View
2 pyinstaller.py
@@ -14,5 +14,5 @@
"""
if __name__ == '__main__':
- from PyInstaller.__main__ import run
+ from PyInstaller.main import run
run()
View
2 setup.py
@@ -82,7 +82,7 @@
entry_points = """
[console_scripts]
- pyinstaller=PyInstaller.__main__:run
+ pyinstaller=PyInstaller.main:run
pyi-archive_viewer=PyInstaller.cliutils.archive_viewer:run
pyi-bindepend=PyInstaller.cliutils.bindepend:run
pyi-build=PyInstaller.cliutils.build:run
View
2 tests/runtests.py
@@ -47,7 +47,7 @@
from PyInstaller import HOMEPATH
from PyInstaller import compat, configure
-from PyInstaller import __main__ as pyi_main
+from PyInstaller import main as pyi_main
from PyInstaller.compat import is_py25, is_py26, is_win, is_darwin
from PyInstaller.lib import unittest2 as unittest
from PyInstaller.lib import junitxml

0 comments on commit 0185b31

Please sign in to comment.