juxj / sqlautocode

Automatically exported from code.google.com/p/sqlautocode
Other
0 stars 0 forks source link

Executable as a module #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python -m sqlautocode

What is the expected output? What do you see instead?
  File "build\bdist.win32\egg\sqlautocode\__init__.py", line 2, in <module>
ImportError: No module named config

What version of the product are you using? On what operating system?
Python 2.5. Windows

Original issue reported on code.google.com by techtonik@gmail.com on 23 Apr 2009 at 12:44

GoogleCodeExporter commented 9 years ago
There is a script that is installed upon easy_install that does this for you

{{{
easy_install sqlautocode
$PYTHON/bin/sqlautocode --help
}}}

Original comment by spamsch@gmail.com on 12 May 2009 at 9:43

GoogleCodeExporter commented 9 years ago
On windows there is no $PYTHON/bin directory. There is no $PYTHON environment
variable at all.

Original comment by techtonik@gmail.com on 12 May 2009 at 10:10

GoogleCodeExporter commented 9 years ago
I have no windows here :-) Replace $PYTHON with the path to your python 
environment

Original comment by spamsch@gmail.com on 12 May 2009 at 10:32

GoogleCodeExporter commented 9 years ago
Avoid specifying any installation-dependent paths was actually the main purpose 
of
this bugreport. =)

Original comment by techtonik@gmail.com on 12 May 2009 at 1:48