[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cython package: meta info



Hello Forum,

I am packaging my first cython package.

I have noticed what looks as meta information in the distributed __init__.pxd file, something as:

--8><--------------------------------------------------------------------------
# distutils: include_dirs = /usr/local/lib/python2.7/dist-packages/PACKAGE_NAME

Is this metaformation meant for some builder ?

As a matter of fact, this very line was written by th setup.py scrip as follows:
init_pxd = "# distutils: include_dirs = {0}\n".format(install_dir)

Clearly the install_dir must be corrected: what is the best way to do so ?

Thanks in advance,
Jerome


Reply to: