-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
40 lines (36 loc) · 865 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
35
36
37
38
39
40
import numpy as np
import os
from setuptools import setup, Extension
version = "0.1.0"
with open("./README.md") as fd:
long_description = fd.read()
gwdt_extension = Extension(
name="gwdt.gwdt_impl",
sources=[os.path.join("gwdt", "gwdt_impl.pyx")],
include_dirs=[np.get_include()],
language="c++"
)
setup(
name="gwdt",
version=version,
description=
"Grey-weighted distance transform",
long_description=long_description,
install_requires=[
"numpy"
],
setup_requires=[
"Cython",
"numpy"
],
author="Kwanghun Chung Lab",
packages=["gwdt"],
url="https://github.com/chunglabmit/gwdt",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
'Programming Language :: Python :: 3.5',
],
ext_modules=[gwdt_extension],
zip_safe=False
)