Skip to content

Commit 2f6a010

Browse files
committed
Update python port.
1 parent 3a47ed3 commit 2f6a010

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

source/ports/py_port/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Then install MetaCall Python package through MetaCall:
2525

2626
.. code:: console
2727
28-
metacall pip3 install metacall
28+
pip3 install metacall
2929
3030
Example
3131
=======
@@ -55,7 +55,7 @@ Running the example:
5555

5656
.. code:: console
5757
58-
metacall main.py
58+
python3 main.py
5959
6060
Using pointers (calling to a C library)
6161
---------------------------------------

source/ports/py_port/metacall/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
# See the License for the specific language governing permissions and
1818
# limitations under the License.
1919

20-
from metacall.api import metacall, metacall_load_from_file, metacall_load_from_memory, metacall_load_from_package, metacall_inspect, metacall_value_create_ptr, metacall_value_reference, metacall_value_dereference
20+
from metacall.metacall import metacall, metacall_load_from_file, metacall_load_from_memory, metacall_load_from_package, metacall_inspect, metacall_value_create_ptr, metacall_value_reference, metacall_value_dereference
File renamed without changes.

source/ports/py_port/setup.cfg

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
[bdist_wheel]
2-
# This flag says that the code is written to work on both Python 2 and Python
3-
# 3. If at all possible, it is good practice to do this. If you cannot, you
4-
# will need to generate wheels for each Python version that you support.
5-
universal=1
6-
71
[metadata]
82
license=Apache-2.0
93
license_files=LICENSE.txt

0 commit comments

Comments
 (0)