forked from ChristophKirst/ClearMap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (43 loc) · 1.57 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
import ClearMap
import numpy
with open('README.rst') as fptr:
readme = fptr.read()
with open('LICENSE.txt') as fptr:
license = fptr.read()
extensions = [Extension(
"ClearMap/Analysis/VoxelizationCode",
["ClearMap/Analysis/VoxelizationCode.pyx"],
include_dirs=[numpy.get_include()],
)
]
setup(
name = ClearMap.__title__,
version = ClearMap.__version__,
description = readme.split('\n')[0],
long_description = readme,
author = "Christoph Kirst",
author_email = '[email protected]',
url = 'https://www.idisco.info/',
license = license,
packages = find_packages(exclude=('tests', 'docs')),
ext_modules = cythonize(extensions),
classifiers=(
'Development Status :: 1- Beta',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: GNU GENERAL PUBLIC LICENSE Version 3 2.0',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
),
)