Skip to main content

python extension for Athena/HARP

Project description

This folder contains wrapper functions for the python extension of Athena/HARP.

It uses Cython as the software to extend the existing C++ modules

To install cython, execute:

pip install Cython

More information can be found at http://docs.cython.org/

I found that it is hard to distribute cython project to python

Here's the problems I encountered

1. the extern keywords import header files counting from the 'setup.py' directory

2. the pxd file uses relative import

3. the pyx file uses absolute import

4. pypi needs manylinux tag

see discuss at:

https://stackoverflow.com/questions/50690526/how-to-publish-binary-python-wheels-for-linux-on-a-local-machine

https://github.com/pypa/manylinux

https://github.com/pypa/python-manylinux-demo

Check wiki page on continuous integration

https://en.wikipedia.org/wiki/Continuous_integration

How to distribution a cython package

https://stackoverflow.com/questions/47042483/how-to-build-and-distribute-a-python-cython-package-that-depends-on-third-party

Project details


Download files

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

Source Distribution

athenapp-0.0.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

athenapp-0.0.2-py2-none-any.whl (2.7 kB view hashes)

Uploaded Python 2

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