forked from swoole/phpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.xml
115 lines (115 loc) · 5.33 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0"?>
<package packagerversion="1.4.11" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>phpy</name>
<channel>pecl.php.net</channel>
<summary>A library for inter-calling Python and PHP</summary>
<description>
This extension allows PHP to directly use Python modules and functions without RPC.
Including Pytorch, transformer, numpy, tensorflow and other Python AI libraries, which can be used like calling
PHP functions.
</description>
<lead>
<name>Tianfeng.Han</name>
<user>tianfenghan</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2024-09-06</date>
<version>
<release>1.0.8</release>
<api>1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Added argument_as_object configuration item
- Add Helper::printTraceback()
- Support windows platform
- Support Python class as parent class of PHP class
</notes>
<contents>
<dir name="/">
<file role='doc' name='README.md'/>
<file role='doc' name='LICENSE'/>
<file role='src' name='config.m4'/>
<file role='src' name='config.w32'/>
<file role='src' name='.clang-format'/>
<file role='src' name='phpy.cc'/>
<file role='src' name='php_phpy.h'/>
<file role='src' name='include/phpy.h'/>
<file role='src' name='stubs/phpy_core_arginfo.h'/>
<file role='src' name='stubs/phpy_dict_arginfo.h'/>
<file role='src' name='stubs/phpy_error_arginfo.h'/>
<file role='src' name='stubs/phpy_fn_arginfo.h'/>
<file role='src' name='stubs/phpy_iter_arginfo.h'/>
<file role='src' name='stubs/phpy_list_arginfo.h'/>
<file role='src' name='stubs/phpy_module_arginfo.h'/>
<file role='src' name='stubs/phpy_object_arginfo.h'/>
<file role='src' name='stubs/phpy_sequence_arginfo.h'/>
<file role='src' name='stubs/phpy_set_arginfo.h'/>
<file role='src' name='stubs/phpy_str_arginfo.h'/>
<file role='src' name='stubs/phpy_tuple_arginfo.h'/>
<file role='src' name='stubs/phpy_type_arginfo.h'/>
<file role='src' name='stubs/phpy_core.stub.php'/>
<file role='src' name='stubs/phpy_dict.stub.php'/>
<file role='src' name='stubs/phpy_error.stub.php'/>
<file role='src' name='stubs/phpy_fn.stub.php'/>
<file role='src' name='stubs/phpy_iter.stub.php'/>
<file role='src' name='stubs/phpy_list.stub.php'/>
<file role='src' name='stubs/phpy_module.stub.php'/>
<file role='src' name='stubs/phpy_object.stub.php'/>
<file role='src' name='stubs/phpy_sequence.stub.php'/>
<file role='src' name='stubs/phpy_set.stub.php'/>
<file role='src' name='stubs/phpy_str.stub.php'/>
<file role='src' name='stubs/phpy_tuple.stub.php'/>
<file role='src' name='stubs/phpy_type.stub.php'/>
<file role='src' name='src/bridge/core.cc'/>
<file role='src' name='src/php/core.cc'/>
<file role='src' name='src/php/dict.cc'/>
<file role='src' name='src/php/error.cc'/>
<file role='src' name='src/php/fn.cc'/>
<file role='src' name='src/php/iter.cc'/>
<file role='src' name='src/php/list.cc'/>
<file role='src' name='src/php/module.cc'/>
<file role='src' name='src/php/object.cc'/>
<file role='src' name='src/php/sequence.cc'/>
<file role='src' name='src/php/set.cc'/>
<file role='src' name='src/php/str.cc'/>
<file role='src' name='src/php/tuple.cc'/>
<file role='src' name='src/php/type.cc'/>
<file role='src' name='src/python/array.cc'/>
<file role='src' name='src/python/callable.cc'/>
<file role='src' name='src/python/class.cc'/>
<file role='src' name='src/python/module.cc'/>
<file role='src' name='src/python/object.cc'/>
<file role='src' name='src/python/reference.cc'/>
<file role='src' name='src/python/resource.cc'/>
<file role='src' name='src/python/string.cc'/>
<file role='src' name='lib/phpy/Helper.php'/>
<file role='src' name='lib/phpy/PyClass.php'/>
<file role='src' name='lib/phpy/proxy.tpl'/>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>8.1.0</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>phpy</providesextension>
<extsrcrelease>
<configureoption name="with-python-config" prompt="Specify the path of python-config" default="python3-config"/>
</extsrcrelease>
</package>