Comments (7)
I assume you are manually adding the SDK path to the PATH environment variable?
If you're going to this effort why not add it to PYTHONPATH? Then it will be
automatically imported and no code changes in the helper will be required.
Original comment by [email protected]
on 16 Jun 2008 at 10:33
from google-app-engine-django.
Original comment by [email protected]
on 16 Jun 2008 at 10:33
- Added labels: Priority-Low, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from google-app-engine-django.
Please re-open if you have further information.
Original comment by [email protected]
on 24 Jun 2008 at 10:25
- Changed state: Invalid
from google-app-engine-django.
The google installer for windows kindly sets the path environment. It is
available
in the registry under HKEY_CURRENT_USER.Environment.Path and under the system
environment settings. You can use _winreg or the simpler method proposed by
qxodream.
Both are better than guessing.
wpaths = os.environ['PATH'].split(";")
for tmp_path in wpaths:
if tmp_path.count('google_appengine') > 0:
paths.append(tmp_path.rstrip('\\'))
The use of Drive:\\Program Files is useless unless you actually accept the
installer
default installation path. Many developers do development on drives other than
C.
Other developers refuse to install in Program Files - especially on vista.
Original comment by [email protected]
on 6 Jul 2008 at 2:35
from google-app-engine-django.
This should be resolved in r32 which uses a win32 api function to find the SDK
without needing to assume the drive letter or that Program Files is on the same
drive
as Windows itself.
Original comment by [email protected]
on 6 Jul 2008 at 6:23
from google-app-engine-django.
The code in r32 asks windows for the the path for program files. I however,
naively
instructed the installer to install in E:\Google. It could have been E:\myGoog.
That
is a both a perfectly valid choice and quite a normal one on Windows. If you
run the
msi installer a second time, it will ask if you would like to repair or delete
the
installation - it knows I installed to E:\Google. The code in r32
unsurprisingly
then, does not find the appengine.
My point earlier, was that the appengine msi installer does conveniently add
(or
modify) it's install path in the windows path environment variable. This then
presents itself in os.environ['PATH']. I guess whoever coded the installer
thought
this was a good decision.
Original comment by [email protected]
on 7 Jul 2008 at 11:31
from google-app-engine-django.
I've committed some code to implement this in r50.
Thanks for the suggestions
Original comment by [email protected]
on 6 Aug 2008 at 9:48
- Changed state: Fixed
from google-app-engine-django.
Related Issues (20)
- Appengine docs are not consistant HOT 1
- support installing with an exact version to avoid UnacceptableVersionError HOT 2
- Allow non-django handlers to mix with django handlers in the same app HOT 4
- ImportError: No module named fancy_urllib HOT 6
- Wrong value of appid and have_appserver, HOT 2
- Default Database not set and objct User dont have attribute 'properties' HOT 2
- Cannot update my application remotely HOT 1
- simplejson importerror HOT 2
- ImportError: No module named whoosh (needs path update for SDK 1.5.3) HOT 4
- BadRequestError: app "google-app-engine-django" cannot access app "MY_APP"'s data in IntegrationTest.testBasic HOT 4
- Adds upgrade script to keep an application in sync with the helper
- console management command doesn't work
- AttributeError: 'module' object has no attribute 'ApplicationLoggingHandler'
- Since GAE1.6 - ValueError: too many values to unpack in LoadAppengineEnvironment HOT 5
- SDK 1.6 LoadAppConfig ValueError: too many values to unpack HOT 1
- pls help me out....while browsing project i got this error ..!!!!
- from google.appengine.dist works in local 2.7 environment HOT 3
- ImportError: cannot import name SMTPConnection HOT 1
- Goflow implementation in google app engine nosql.
- Enter one-line summary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-app-engine-django.