Add an example for installing to a custom prefix to the INSTALL file and
drop the Cython required version to 0.17.0.
This commit is contained in:
parent
9b165b8b79
commit
7b77e37b8c
8
INSTALL
8
INSTALL
|
@ -5,8 +5,8 @@
|
|||
* Python 2.7 or higher (http://www.python.org/)
|
||||
- Tested with Python 2.7 / 3.2
|
||||
|
||||
* Cython 0.17.3 or higher (http://cython.org/)
|
||||
- Tested with Cython 0.17.3
|
||||
* Cython 0.17.0 or higher (http://cython.org/)
|
||||
- Tested with Cython 0.17.1
|
||||
|
||||
* EFL core library
|
||||
- eo, evas, ecore, edje, elementary, edbus and emotion
|
||||
|
@ -58,6 +58,10 @@
|
|||
|
||||
python3 setup.py install (also cython need to be installed with py3)
|
||||
|
||||
* Install with a custom prefix:
|
||||
|
||||
python setup.py install --prefix=/MY_PREFIX
|
||||
|
||||
|
||||
|
||||
4. DOCUMENTATION:
|
||||
|
|
4
setup.py
4
setup.py
|
@ -13,7 +13,7 @@ try:
|
|||
from Cython.Build import cythonize
|
||||
import Cython.Compiler.Options
|
||||
|
||||
min_ver, cur_ver = "0.17.3", Cython.__version__
|
||||
min_ver, cur_ver = "0.17.0", Cython.__version__
|
||||
assert StrictVersion(cur_ver) >= StrictVersion(min_ver)
|
||||
print("Found Cython: %s" % cur_ver)
|
||||
|
||||
|
@ -109,7 +109,7 @@ else:
|
|||
extra_compile_args = edje_cflags,
|
||||
extra_link_args = edje_libs + eina_libs + evas_libs)
|
||||
modules.append(edje_ext)
|
||||
|
||||
|
||||
# Edje_Edit
|
||||
edje_edit_ext = Extension("efl.edje_edit", ["efl/edje/efl.edje_edit.pyx"],
|
||||
define_macros = [('EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT', None)],
|
||||
|
|
Loading…
Reference in New Issue