-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
34 lines (31 loc) · 906 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env python3
import pathlib
from setuptools import setup, Extension
from Cython.Build import cythonize
# The directory containing this file
root_dir = pathlib.Path(__file__).parent
# The text of the README file
README = (root_dir / "README.md").read_text()
setup(
name="python-libfprint",
version="0.0.1",
description="A fprint library wrapper",
long_description=README,
long_description_content_type="text/markdown",
author="Diego Saraiva",
author_email="[email protected]",
package_dir={'python-libfprint': 'lib'},
packages=['python-libfprint'],
ext_modules=cythonize([
Extension("fprint",
sources=["lib/fprint.pyx"],
libraries=["fprint"]),
]
),
package_data={
'': ['*.pyx', '*.pxd', '*.c'],
},
project_urls={
"Source": "https://github.com/jdiego/python-libfprint",
}
)