-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
28 lines (25 loc) · 1009 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
from distutils.core import setup
from numpy.distutils.core import Extension
from numpy.distutils.core import setup as npsetup
wdt = Extension(name='_wdt', sources=['fortran/mheap.f90', 'fortran/wdt_module.f90'])
with open("README.md","r") as f:
long_description = f.read()
setuptools.setup(
name="weighted distance transform",
version="1.0.0",
author="Omar Richardson",
author_email="omsrichardson@gmail.com",
description="Python library for computing weighted distance transforms",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/0mar/weighted-distance-transform",
packages=['wdt'],
classifiers=[
"Programming Language :: Python :: 3",
],
)
if __name__ == "__main__":
npsetup(name='FORTRAN modules',
description="FORTRAN module for the weighted distance transform",
author="Omar Richardson",
ext_modules=[wdt])