Commit b564a1bd authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Initial commit

parents
/build/
*.c
from .crystfel cimport *
def my_progress_bar(val, total, text):
progress_bar(val, total, text)
cdef extern from "crystfel/utils.h":
void progress_bar(int val, int total, const char *text)
from setuptools import Extension, setup
from Cython.Build import cythonize
extensions = [
Extension("pycrystfel.bindings", ["pycrystfel/bindings.pyx"],
libraries=['crystfel'],
)
]
setup(
name="Pycrystfel",
ext_modules=cythonize(extensions),
packages=['pycrystfel'],
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment