abarnert / appscript Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mattneub/appscript
This project forked from mattneub/appscript
It should be possible to pip install git+https://github.com/mattneub/appscript
, but it's not. If you want to install it, you have to clone the repo, then "pip install ./appscript/py-appscript/trunk".
Fixing this properly would mean un-cvs-ifying the hierarchy, but that's probably outside the scope of what we want to do.
As a simple fix, it should be possible to copy the setup.py into the top-level directory, then munge the root_dir paths.
For example, while building py-appscript for Python 3.3:
building 'aem.ae' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -arch i386 -arch x86_64 -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c appscript_3x/ext/ae.c -o build/temp.macosx-10.6-intel-3.3/appscript_3x/ext/ae.o -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4
In file included from appscript_3x/ext/ae.c:16:
appscript_3x/ext/sendthreadsafe.c:360:15: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (sendMode && kAEWaitReply) {
^ ~~~~~~~~~~~~
appscript_3x/ext/sendthreadsafe.c:360:15: note: use '&' for a bitwise operation
if (sendMode && kAEWaitReply) {
^~
&
appscript_3x/ext/sendthreadsafe.c:360:15: note: remove constant to silence this warning
if (sendMode && kAEWaitReply) {
~^~~~~~~~~~~~~~~
1 warning generated.
In file included from appscript_3x/ext/ae.c:16:
appscript_3x/ext/sendthreadsafe.c:360:15: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (sendMode && kAEWaitReply) {
^ ~~~~~~~~~~~~
appscript_3x/ext/sendthreadsafe.c:360:15: note: use '&' for a bitwise operation
if (sendMode && kAEWaitReply) {
^~
&
appscript_3x/ext/sendthreadsafe.c:360:15: note: remove constant to silence this warning
if (sendMode && kAEWaitReply) {
~^~~~~~~~~~~~~~~
1 warning generated.
These warnings are accurate: If you set any sendMode bits at all, you effectively get all of them, instead of just the one you set.
I haven't tested Ruby or Python2 yet, but I'm guessing they have the same problem.
It's possible that some of the other ObjC fixes need to be ported as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.