## 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

# How to package and distribute
https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/

# Pypi token
https://pypi.org/manage/account/token/

# How to distribute a package
python3 -m build --sdist
python3 -m build --wheel
twine upload dist/*0.0.4*
