Commit Graph

156 Commits

Author SHA1 Message Date
Mathieu Virbel e9fbb48463 fix setup.py for python-for-android project 2012-02-24 11:24:21 +01:00
Mathieu Virbel 46dfe8951e fix window build. 2012-02-24 02:25:25 +01:00
Mathieu Virbel da1e506abf try to fix win32 build 2012-02-24 02:14:14 +01:00
Mathieu Virbel 5ef6fd08d0 fix ios build + add KIVY_FAKE_BUILDEXT env to be able to generate only .c/.h + update "make ios" 2012-02-24 02:09:45 +01:00
Mathieu Virbel 553beba0bd Merge branch 'master' of ssh://github.com/kivy/kivy into ios-support
Conflicts:
	setup.py
2012-02-24 01:51:31 +01:00
Mathieu Virbel 69bea76df9 rework setup.py, need testing on windows/linux. hopefully that would be more easy to implement new extensions that require new libs now. 2012-02-24 00:25:20 +01:00
Mathieu Virbel 96c6a3eda4 temporary fix. we really must redo the setup.py. 2012-02-23 03:34:01 +01:00
Mathieu Virbel fe1fc21a63 merge master 2012-02-23 01:50:02 +01:00
Mathieu Virbel d53260d995 fix detection of python-for-android project 2012-01-29 17:49:00 +01:00
Mathieu Virbel 39eefeb72d fix setup and docs 2012-01-29 17:39:22 +01:00
Mathieu Virbel 7388beee5d prefer usage of kivy.utils.platform() instead of always guessing with "import android" 2012-01-29 17:23:42 +01:00
Mathieu Virbel 3550efb49f Merge branch 'master' into android-support 2012-01-22 21:01:33 +01:00
Mathieu Virbel a1922b6252 add atlas files in setup/manifest 2012-01-22 21:00:58 +01:00
Mathieu Virbel 54f03f2c2b Merge branch 'master' into android-support
Conflicts:
	kivy/core/window/window_pygame.py
2012-01-22 19:18:28 +01:00
Mathieu Virbel db66de49dc setup: activate by default the embedsignature for pyx files, otherwise, the documentation doesnt show any argument in methods/functions etc. 2012-01-22 12:50:16 +01:00
Mathieu Virbel 1788700d2c pip+virtualenv installation fix. closes #367
For unknown reasons (probably a mix between pip, setuptools and distutils invocation), our extension source are automatically replaced from pyx to c, and then, Cython is not doing its work.
So after invocation of the Extension.__init__, force again the source field.
2012-01-19 16:24:44 +01:00
Mathieu Virbel b2e0019b49 Merge branch 'master' of ssh://github.com/kivy/kivy into android-support 2012-01-16 16:25:54 +01:00
Mathieu Virbel b4bbe0b974 another optimization pass: generalize embedsignature in setup.py, and avoid profiling generation for extension except if it's asked + reduce cython generated code. 2012-01-16 16:20:36 +01:00
Mathieu Virbel 8aa08b7efe Merge branch 'android-support' of ssh://github.com/kivy/kivy into android-support 2012-01-12 15:58:21 +01:00
Mathieu Virbel cd5fbf92bb Merge branch 'master' of ssh://github.com/kivy/kivy into android-support 2012-01-12 15:58:11 +01:00
Mathieu Virbel 6e8780fb23 if python-for-android project is detected (via NDKPLATFORM env), use it to locate gl2.h and use GLESv2 library. 2012-01-10 14:39:21 +01:00
Mathieu Virbel de75d6493c fix mesabuild by correctly setting environ 2011-12-19 12:20:09 +01:00
Mathieu Virbel 3fff275eca graphics: fix all pyx/c warning during compilation. fixed a (big?) issue in gl_redirect, maybe this is a cause of some compile crash on debian. 2011-12-19 11:20:16 +01:00
Mathieu Virbel 5047a4b2ab setup: add a fix for duplicate symbol name/implementation at the loading of text_sdlttf/sdl libraries. Because the ios loader already link against libSDL.a, we should not include the .a on our python extension. But this will lead to unknown symbol. Since we know what we are doing, remove SDL from libraries, and add -undefined dynamic_lookup to allow unknown symbol (care, this can lead to a crash if we are using real unknown symbol...) 2011-12-02 19:25:28 +01:00
Mathieu Virbel 945932d97b setup: deactivate ios/sdl by default, and trigger them if kivy-ios project enviromnent is detected.
in that case, activate ios, and use its build directory for sdl/sdlttf
2011-12-01 17:45:33 +01:00
Mathieu Virbel 027fbcaced core/text: add new implementation based on freetype/sdlttf and latest sdl 1.3. 2011-12-01 15:51:34 +01:00
Mathieu Virbel 42a663a4f9 Merge branch 'master' of ssh://github.com/tito/kivy into ios-support
Conflicts:
	kivy/__init__.py
	kivy/core/image/__init__.py
	kivy/core/window/__init__.py
	kivy/graphics/c_opengl_debug.pyx
	kivy/graphics/instructions.pyx
	kivy/graphics/vbo.pxd
	kivy/graphics/vbo.pyx
	kivy/graphics/vertex_instructions.pyx
	kivy/resources.py
2011-11-29 17:34:08 +01:00
Mathieu Virbel 4265d6686a fix path and use absolute path 2011-11-29 17:25:21 +01:00
Mathieu Virbel 97feb998da Merge branch 'master' of ssh://github.com/tito/kivy into android-support 2011-10-23 15:35:39 +02:00
Mathieu Virbel ab1f473b66 add keyboards layouts json data for setup.py 2011-10-21 18:05:51 +02:00
Mathieu Virbel 6f39b9aed2 Merge branch 'master' of ssh://github.com/tito/kivy into android-support 2011-08-21 23:49:58 +02:00
Mathieu Virbel af7e74593f setup: add missing gif to be copied 2011-08-21 23:47:13 +02:00
Mathieu Virbel 99a48c24a7 Merge branch 'master' of ssh://github.com/tito/kivy into android-support 2011-08-21 20:11:06 +02:00
Mathieu Virbel d3d4482d08 urlrequest: new class for doing asynchronous web request. 2011-08-16 18:28:44 +02:00
Christopher Denter 16beaaf541 ios-support: Fix iOS build with iPhone 5.0 SDK 2011-07-07 13:22:13 +02:00
Christopher Denter ed2c736346 fix compile 2011-07-06 10:31:03 +02:00
Mathieu Virbel 2655c9dccc Merge branch 'master' of ssh://github.com/tito/kivy into android-support 2011-06-10 02:42:29 +02:00
Mathieu Virbel 04220f87a1 setup: add *.json to be copied when kivy is installed 2011-06-10 02:42:23 +02:00
Mathieu Virbel 07094e2946 Merge branch 'master' of ssh://github.com/tito/kivy into android-support 2011-05-27 02:23:21 +02:00
Christopher Denter 7624819fa5 ios-support: merge osx-support 2011-05-27 00:12:06 +02:00
Christopher Denter d38bce6bb1 Merge branch 'master' of github.com:tito/kivy into osx-support 2011-05-26 22:52:20 +02:00
Christopher Denter 85f12f1e2f Merge branch 'master' of github.com:tito/kivy 2011-05-26 22:39:28 +02:00
Christopher Denter 765389d01c extensions: setup.py: add kivy.ext to packages. ext/__init__: don't crash if an extension path doesn't exist and cannot be created (Question: should we by default create the extensions/ folder in the kivy base dir...) 2011-05-26 22:39:06 +02:00
Christopher Denter f79e4de9ee merge master 2011-05-26 10:27:20 +02:00
Christopher Denter aa2fcfe1a3 osx core image: make it compile 2011-05-26 10:25:42 +02:00
Christopher Denter 42f10f6e94 sdl: fix linker parameter 2011-05-25 09:41:53 +02:00
Christopher Denter 73e79b624f wip; pretty dirty 2011-05-24 22:41:43 +02:00
Mathieu Virbel 51f16c0a04 core: remove very old env not used, and reduce the number of external dirs.
+ add alternative environ for location of data, modules and extensions
+ use import kivy.lib.osc instead of osc
needed for #153
2011-05-20 17:45:38 +02:00
Mathieu Virbel fd912571b8 setup: add math lib for linking. This fix a bug of default gcc option of Mageia linux distribution "-Wl,--no-undefined". Closes #150 2011-05-19 02:28:44 +02:00
Christopher Denter 0699b85713 ios: wip 2011-05-14 20:46:46 +02:00
Christopher Denter 144de606f7 merge core-sdl 2011-05-12 10:12:07 +02:00
Christopher Denter 1e516032c4 ios: setup.py: remove unnecessary includes. isysroot handles all of that 2011-05-12 00:52:14 +02:00
Christopher Denter 3db99f8c75 make all cython modules compile for arm. IMPORTANT: Check __USE_MESAGL define in master. we check for that incorrectly in gl_redirect.h 2011-05-12 00:49:23 +02:00
Christopher Denter 5bbf783a61 ios-support: setup.py: make sdl cython module compile for iOS 2011-05-11 22:41:31 +02:00
Mathieu Virbel f3ae89168d sdl: rework setup.py to be able to compile sdl only when USE_SDL is pass in environ + merge all the logic around pyx extensions 2011-05-11 14:52:33 +02:00
Christopher Denter c7ed23c7f0 core-sdl: Make it compile on OSX with SDL 1.3 checked out from hg via homebrew 2011-05-10 00:41:28 +02:00
Mathieu Virbel 23ae570a9f sdl: start. 2011-05-10 00:15:22 +02:00
Mathieu Virbel 112b00a2d9 rework setup.py to make android build been able to generate cython itself 2011-04-27 14:12:58 +02:00
Mathieu Virbel 07349f10ac Merge branch 'master' of ssh://github.com/tito/kivy into android-support 2011-04-26 00:51:31 +02:00
Mathieu Virbel d3fcbf79c5 setup: add pxd in extensions to help a little about compilation when a deps change. Closes #66
However, distutils doesn't support the introspection of pyx files to get deps.
+ add .PHONY in Makefile for all comamnds, now make build can be used even after a fetch
+ regenerate .h only when build_ext is called.
2011-04-23 18:08:31 +02:00
Mathieu Virbel 876117c586 Merge branch 'master' of ssh://github.com/tito/kivy into android-support 2011-04-21 19:43:44 +02:00
Mathieu Virbel ad29cb9b1c setup: add missing images/*.jpg entry 2011-04-21 19:43:31 +02:00
Mathieu Virbel a177965c97 Merge branch 'master' of git://github.com/tito/kivy into android-support 2011-04-20 18:58:57 +02:00
Mathieu Virbel 58c8e87c46 bump to 1.0.5 2011-04-15 21:38:29 +02:00
Mathieu Virbel e63345cf37 setup: remove poly2tri + entry for packaging win32/osx 2011-04-15 14:37:52 +02:00
Mathieu Virbel 8a1ceda3b8 Merge branch 'master' of git://github.com/tito/kivy into android-support 2011-04-15 14:10:20 +02:00
Mathieu Virbel b401b71e5d setup.py: remove kivy.core.svg from setup 2011-03-29 22:57:25 +02:00
unknown 8269e78f75 setup: remove unused import 2011-03-29 17:25:43 +02:00
Mathieu Virbel 980f38e0eb setup: back to the distutils version of setup()/Extension.
setuptools was only for nose and test integration, but since we are making it through our Makefile, no need to change the setup for that.
That also remove the nose requirement for standard user.
2011-02-19 01:08:40 +01:00
Mathieu Virbel 0a22a21389 Merge branch 'master' of github.com:tito/kivy into android-support 2011-02-17 19:23:20 +01:00
Christopher Denter 7e2932459e pep8 2011-02-13 16:09:50 +01:00
Christopher Denter ed112fac47 OSX: Only compile for x86_64 2011-02-13 16:06:19 +01:00
Mathieu Virbel 7085864448 Remove setuptools usage. Since we are using Makefile to launch nosetests, no need to have integration in our setup, and that make tihngs easied for embed python. 2011-02-02 22:36:05 +01:00
Mathieu Virbel d2e2346e08 Merge branch 'master' of github.com:tito/kivy into android-support
Conflicts:
	kivy/__init__.py
	kivy/graphics/shader.pyx
	kivy/input/providers/__init__.py
2011-02-02 16:01:05 +01:00
Mathieu Virbel 38acd2da10 setup.py: fix for making pip install work 2011-02-02 00:40:17 +01:00
Mathieu Virbel 8784ebaee8 setup.py: fix pyx->modulename conversion 2011-02-02 00:17:24 +01:00
Mathieu Virbel 8871b201ae setup.py: autodetect gles 2 headers. Closes #22 2011-02-01 20:46:39 +01:00
Mathieu Virbel a7297773f7 setup.py simulate doc generation, otherwise, it conflict when using easy_install on the package
+ fake & reupload linux package
2011-02-01 11:21:54 +01:00
Mathieu Virbel c673b92049 win32: add kivyenv.sh when building 2011-02-01 00:49:50 +01:00
Mathieu Virbel a98c31b3a5 setup: ensure that kv files are copied 2011-02-01 00:25:15 +01:00
Mathieu Virbel c5f92d2faf Merge branch 'master' of github.com:tito/kivy 2011-02-01 00:08:07 +01:00
Mathieu Virbel b14251cbc9 init/setup: push initial window logo + uncomment the code for making it work 2011-02-01 00:07:49 +01:00
Christopher Denter 2e544c278c Reword Kivy's description in setup.py 2011-01-31 23:51:04 +01:00
Mathieu Virbel 1ad88f300d deactivate opengl_debug in setup.py + fixes for compiling kivy with glew on windows (working !) 2011-01-25 19:55:48 +01:00
Mathieu Virbel 3eea924fd9 Window: call custom gl_init_symbols(). can be used on platform that required to import GL symbols.
+ rework gl_redirect.h to include usage of glew
+ auto generate config.h + config.pxi depending of the options at setup.py
2011-01-25 17:41:09 +01:00
Mathieu Virbel 411ef92ce7 setup: fix for cython / setuptools integration 2011-01-20 18:26:01 +01:00
Mathieu Virbel 32a053457a setup: use setuptool instead of distutils (now, nose work.) 2011-01-20 18:17:29 +01:00
Mathieu Virbel cdc277bef7 Merge branch 'master' of github.com:tito/kivy into android-support
Conflicts:
	kivy/input/providers/__init__.py
2011-01-15 03:04:13 +01:00
Mathieu Virbel c265f1c88f setup: remove unused import 2011-01-14 00:16:20 +01:00
Mathieu Virbel 3bee58a1b2 Initial support of Android platform
- androidjoystick input provider: multitouch event are passed from android to pygame joystick
- support android: kill the application if the device ask for pause (could be configured by the app)
- renaming event to _event, to prevent conflict with pygame.event (temporary.)
- window: activate android support at creation
- init: fix home path to /sdcard
2011-01-10 00:43:10 +01:00
Mathieu Virbel 50937dc56b fix data install + c_ext issue
+ don't assume that pyx is finishing by '.pyx'. Can be '.c' :)
2011-01-10 00:37:16 +01:00
Mathieu Virbel 62f793465f remove numpy from setup.py and scatter doc 2011-01-06 12:34:10 +01:00
Mathieu Virbel 4cc7b56122 conversion of transformation to our own transformation lib, without numpy dep 2011-01-06 12:33:10 +01:00
Mathieu Virbel f43712714f fix fbo + update setup 2010-12-16 23:10:57 +01:00
Mathieu Virbel b9d790e44d remove c_ext directory 2010-12-16 23:00:14 +01:00
Thomas Hansen 09c2262ad9 remove texture manager. not being used right now, maybe not needed anyway. maybe conflict with texture ?! cant figure out why texture isnt working for label and video 2010-12-01 06:41:31 -06:00
Thomas Hansen 8697819eef fix some rectangular texture things and setting texture using source/texture. add push/pop state to RenderContext to make Matrix instructions work. Label not working :/ ?! 2010-11-30 14:38:22 -06:00
Thomas Hansen 44f8dd0565 make textures work and start doing texture manager, for multi texturing/batching texture bindings 2010-11-17 22:38:40 -06:00
Thomas Hansen edc15bbf7e debugging to make all drawing work 2010-11-16 17:00:57 -06:00
Thomas Hansen f423e6fb4b more work on refactoring graphics. getting closer to working... 2010-11-16 12:40:40 -06:00