Comments (7)
In revision 07aac6627c3d I've changed python path in visual c project
files to "C:\Python27" and "C:\Python32", these are the defaults when
installing ActivePython, would that work for you? Or is the PYTHON_INCLUDE_PATH
required? When I'm changing python runtime I edit the PATH variable,
but this change would require me to make an additional step of changing the
PYTHON_INCLUDE_PATH, right? Or is it possible to use PYTHON_INCLUDE_PATH
variable in PATH?
Original comment by [email protected]
on 14 Mar 2013 at 1:55
from cefpython.
Your paths would indeed default to the default python installation directories,
which is probably going to work out of the box for most people.
The reason I opted for the environment variable is that I am running different
python installations in parallel (for example a vanilla Python 2.7.3, a
stackless version of it and a Python 2.7.2 installation). This way I can easily
choose the version to use. Yes this would mean that I would have to change the
environment variable everytime, but I don't have to modify the actual
buildscripts in this scenario and thus can simply compile from the same source.
Imagine having a seperate console window open for each python installation with
the appropriate environment specified in there.
Original comment by [email protected]
on 14 Mar 2013 at 3:17
from cefpython.
Or we can have both, the hardcoded "C:\Python27" and additionally
$(PYTHON_INCLUDE_PATH). If the "C:\Python27" doesn't exist, it shouldn't
be a problem when compiling as long as you have PYTHON_INCLUDE_PATH set,
would that work for you?
Original comment by [email protected]
on 14 Mar 2013 at 4:10
- Changed state: Accepted
from cefpython.
As long as the variable is checked before it falls back to the default
directory that should work nicely.
Original comment by [email protected]
on 14 Mar 2013 at 4:19
from cefpython.
It will always use the default directory, this will be a problem if
both PYTHON_INCLUDE_PATH and the default directory exist, but this
could be solved by adding $(PYTHON_INCLUDE_PATH) before C:\Python27\include
in AdditionalIncludeDirectories, so that it is:
AdditionalIncludeDirectories="../;$(PYTHON_INCLUDE_PATH);C:\Python27\include"
This way if you have set PYTHON_INCLUDE_PATH it won't include a file in the
hardcoded directory if the file is found in PYTHON_INCLUDE_PATH (I'm assuming
that the precedence of the include directories starts on the left).
Original comment by [email protected]
on 14 Mar 2013 at 4:31
from cefpython.
I've tested and PYTHON_INCLUDE_PATH takes precedence, so it works fine.
Commited in revision 39806ea05d16.
Original comment by [email protected]
on 14 Mar 2013 at 4:43
- Changed state: Fixed
from cefpython.
Project will move to Github. Find this issue at the new address (soon):
https://github.com/cztomczak/cefpython/issues/47
Original comment by [email protected]
on 24 Aug 2015 at 6:29
from cefpython.
Related Issues (20)
- The default en-US locale pak file fails to load on Mac HOT 7
- Examples crash on Mac when app doesn't have permission to write to the debug.log file HOT 2
- Issues with size_t => int conversions when using cef_values.h API on Win x64 platform HOT 3
- Python Wheels - DESCRIPTION.rst UNKNOWN HOT 1
- Embed __version__ also in the cython generated module (cefpython_py27.pyd) HOT 2
- Create unified key mappings for all platforms HOT 9
- Add Browser.IsDevTools() HOT 2
- Expose CreateBrowser() with a callback argument that will be executed after browser was created HOT 2
- The popup window and parent window can't script each other in the wxpython.py example HOT 4
- Create "chrome31" branch before updating to a newer CEF branch HOT 2
- wxpython-response.py example: final url is wrong when doing redirects HOT 8
- Close the browser BEFORE the page is full loaded CEF Crashe HOT 1
- Warnings on OS X: Internals of CFAllocator not known HOT 2
- [meta] Migrate the repository somewhere HOT 2
- Gtk: gtk_disable_setlocale() must be called before gtk_init() HOT 3
- Restructure directories (binaries, installer, libraries) to allow for git branching HOT 2
- Automating navigation HOT 1
- Google Code is dying HOT 1
- Update to CEF branch 2171 (Chrome 39) HOT 2
- Ability to pass modifiers to SendMouseMoveEvent and similar HOT 1
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 cefpython.