Python repackaging of the MEDCoupling library
Project description
MEDCoupling
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
- Download the source code of MEDCoupling from salome-platform.org
- Build the C++ / Python libraries using
cmakeandswig - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file medcoupling-9.3.0.post1-cp36-cp36m-win_amd64.whl.
File metadata
- Download URL: medcoupling-9.3.0.post1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7822af53fd2ac5db2fbb24bf2dddf50241a5b539c7aa171a8efccf51e15972f2
|
|
| MD5 |
ee721aad3b6aff72cc308153bbe09374
|
|
| BLAKE2b-256 |
893300e86b01109a2c8bee8ee8c3c28f8c480019d07eb10da982e455077ec37b
|
File details
Details for the file medcoupling-9.3.0.post1-cp36-cp36m-manylinux1_x86_64.whl.
File metadata
- Download URL: medcoupling-9.3.0.post1-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 8.6 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05758c68826d4ee7892828c291e558839ab255535feeeab15ad4377cc2f53b87
|
|
| MD5 |
7f5953ef6c4c921fda4fd032e35f790b
|
|
| BLAKE2b-256 |
faa677b867348c6bbdd00bddde860453e6168c87cf1c827613b8b4faed4dc49b
|