-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (32 loc) · 1.01 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
from setuptools import setup
from setuptools.extension import Extension
try:
from Cython.Build import cythonize
USE_CYTHON = True
except ModuleNotFoundError:
USE_CYTHON = False
ext = '.pyx' if USE_CYTHON else '.c'
extensions = [Extension('stochastictoolkit._PDE', ['stochastictoolkit/_PDE' + ext])]
if USE_CYTHON:
extensions = cythonize(extensions)
setup(name='stochastictoolkit',
version='0.1',
description='An ever expanding toolkit to build stochastic simulations in python',
url='http://github.com/ulido/stochastictoolkit',
author='Ulrich Dobramysl',
author_email='[email protected]',
license='MIT',
packages=['stochastictoolkit'],
ext_modules = extensions,
install_requires=[
'cython',
'numpy',
'randomgen',
'tqdm',
'pandas',
'shapely',
'tables',
'quadtree @ https://github.com/ulido/quadtree/tarball/master',
],
test_suite='pytest',
zip_safe=False)