Skip to main content

Python repackaging of the MEDCoupling library

Project description

MEDCoupling

PyPi Version

This repository provides a Python repackaging of the latest version (9.3.0) of the MEDCoupling library via a Python file setup.py and hence installable via pip.

Running python3 setup.py build will

  1. Download the source code of MEDCoupling from salome-platform.org
  2. Build the C++ / Python libraries using cmake and swig
  3. Distribute generated files using setuptools

Installation

To install MEDCoupling, you can now simply use pip and its associated options

pip install -U medcoupling

Binary wheels are available for 64-bit Windows (win_amd64) and Linux-like platforms (manylinux1_x86_64). In accordance with the release notes of SALOME 9.3.0, the wheels are only built with Python 3.6. Sadly macOS is not supported (consult developers of MEDCoupling).

To assure that MEDCoupling is well installed, try importing it in your Python

import medcoupling  # should not raise error

Versioning

The version of this package (on PyPI) follows that of MEDCoupling. For MEDCoupling 9.3.0 for instance, we use

9.3.0r1, 9.3.0r2, ...

to designate all PyPI releases based on MEDCoupling 9.3.0. The suffix r[x] is included (abusively, since according to PEP 440 it is for post releases) for possible bug fixes coming from this package.

Uploading to PyPI

To upload binary wheels to PyPI, type

# on Windows
python setup.py bdist_wheel --plat-name win_amd64

# on Linux
python3 setup.py bdist_wheel --plat-name manylinux1_x86_64

python[3] -m twine upload dist/*

License

MEDCoupling, and hence this repository are published under LGPL 2.1.

Repository author

Tianyi Li tianyikillua@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

medcoupling-9.3.0.post1-cp36-cp36m-win_amd64.whl (4.0 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page