-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (21 loc) · 708 Bytes
/
Copy pathsetup.py
File metadata and controls
24 lines (21 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
hashmodule_extensions = [
Extension(
name="lackeyhash",
sources=["pylackeyhash.pyx", "src/lackeyhash.c"],
library_dirs=["src"],
include_dirs=["src"],
)
]
setup(
name="lackeyhash",
version="0.1.0",
description="Custom hash function used by LackeyCCG.",
long_description="Reimplementation of Lackey's file hashing routine in C as a python module.",
author="Dan Peavey",
author_email="danpeavey@gmail.com",
url="https://github.com/sunmachine/lackeyhasher/",
ext_modules=cythonize(hashmodule_extensions, language_level="3"),
)