-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (52 loc) · 1.66 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import setuptools
import numpy
import os
with open("README.md", "r") as f:
long_description = f.read()
setuptools.setup(
name='pet_tutorial',
version="0.0.0",
author='Sebastian Achim Mueller',
author_email='sebastianachimmueller@gmail.com',
description='A merlict c89 tutorial on the example of a PET-scanner.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/relleums/pet_tutorial',
packages=[
'pet_tutorial',
'pet_tutorial.merlict_c89_wrapper'
],
install_requires=[
'setuptools>=18.0',
'cython',
],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: C",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Image Recognition",
],
python_requires='>=3',
ext_modules=[
setuptools.Extension(
"pet_tutorial.merlict_c89_wrapper.wrapper",
sources=[
os.path.join(
'pet_tutorial',
'merlict_c89_wrapper',
'wrapper.pyx'),
os.path.join(
'pet_tutorial',
'merlict_c89_wrapper',
'merlict_c89_wrapper.c'),
],
include_dirs=[numpy.get_include(), "pet_tutorial"],
language="c",
),
],
)