Source

pyobjc / pyobjc-core / setup.py

Author Commit Message Labels Comments Date
Ronald Oussoren
Attempt to fix issue number 41
Branches
pyobjc-2.5.x
Ronald Oussoren
Fix problem in compiler detection code
Ronald Oussoren
Run reindent.py to remove trailing whitespace
Ronald Oussoren
Explictly try to find a working compiler, needed because some binary installers for Python have a reference to a compiler that doesn't work on OSX 10.8 (or rather 'with Xcode 4'). See also <http://bugs.python.org/issue13590> Fixes #30
Ronald Oussoren
Documentation updates with associated changes - Fill in a lot of TODO items in the module documentation for the objc module - Remove some code that was disabld using "#if 0" blocks - Add explicit deprecation warnings to ``objc.CFToObject`` and ``objc.ObjectToCF``. Both functions barely function at all and will be removed with PyObjC 3.0. NOTE: CFToObject and ObjectToCF don't actually do anything, I might remove them before 2.5 is…
Ronald Oussoren
Fix compilation issue with 10.4 SDK
Ronald Oussoren
Ensure code compiles without warnings Some minor code changes and addition off 'pragma ... diagnostic ignore ...' to avoid compiler warnings. The whole build for python 2.7 is now without warnings, except for some warnings in Modules/objc/test/properties.m that cannot be silenced using a pragma (and cannot be fixed by code changes because the current code is intentional and needed for the tests)
Ronald Oussoren
Use ``with open(...)`` to explictly close files
Ronald Oussoren
Ensure that pyobjc-core is pip installable Without this patch you cannot install pyobjc-core using pip because pip assumes that 'egg_info' in setup.py refers to the setuptools command module, before this patch 'egg_info' was a local class in setup.py. Patch by Marc Abramowitz
Ronald Oussoren
Revert earlier change that only works with very recent clang snapshots
Ronald Oussoren
Always use an NSString as helper for OC_PythonUnicode * When sizeof(Py_UNICODE) == sizeof(unichar) we could work without the NSString, but for some reason that causes problems with some CFString APIs * Provide a number of __realObject__ implementations to optimize the creation of the NSString: don't copy actual string data unless really necessary * This checkin also adds caching for selector lookups, should slightly improve performance Thi…
Ronald Oussoren
More work on python3 compatibility (with 2to3) * Fixes a number of issues in NSDecimal support, including some interpreter crashes * Almost all tests now pass on OSX 10.7 with python 2.7 and 3.2 (3.3 should also work, need to rerun the entire suite there), both x86_64 and i386
Ronald Oussoren
working on 2to3-less bootstrap
Ronald Oussoren
Various updates in pyobjc-core) *) Remove use_2to3 from setup.py, the code is now valid for python 2 and 3 without translation (for python2.6 and later). This will make development easier, and removes a very expensive translation step when installing for python 3.x *) Initial support for Python 3.3 This is not yet finished, there are still failing testcases due to the new unicode representation in 3.3.
Ronald Oussoren
Significant improvements to the new metadata system Most Cocoa tests now pass with the new metadata system. Also fixes some clang warnings
Ronald Oussoren
Remove extra level introduced by conversion from subversion