forked from pepijndevos/futhark-pycffi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (30 loc) · 1.14 KB
/
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
import io
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with io.open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='futhark_ffi',
version='0.14.2',
description='A Python library using the Futhark C backend via CFFI ',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/pepijndevos/futhark-pycffi',
author='Pepijn de Vos',
packages=['futhark_ffi'],
install_requires=['numpy', 'cffi'], # Optional
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# `pip` to create the appropriate form of executable for the target
# platform.
#
# For example, the following would provide a command called `sample` which
# executes the function `main` from this package when invoked:
entry_points={ # Optional
'console_scripts': [
'build_futhark_ffi=futhark_ffi.build:main',
],
},
)