-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (57 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
50
51
52
53
54
55
56
57
58
59
import glob
from setuptools import setup, find_packages
from Cython.Build import cythonize
import numpy
with open('README.md') as f:
long_description = ''.join(f.readlines())
setup(
name='maze',
version=0.4,
keywords='maze analysis matrix cython',
description='Simple python maze analyzer for finding shortest path',
long_description=long_description,
author='Marek Suchánek',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
package_data={
'maze': [
'static/*.cfg',
'static/*.json',
'static/ui/*.ui',
'static/pics/*.svg',
'static/pics/README.md',
'static/pics/arrows/*.svg',
'static/pics/lines/*.svg',
]
},
ext_modules=cythonize(
glob.glob('maze/*.pyx'),
language_level=3,
include_dirs=[numpy.get_include()],
language="c++"
),
include_dirs=[numpy.get_include()],
install_requires=[
'Cython>=0.25.1',
'numpy>=1.11.2',
'py>=1.4.31',
'PyQt5>=5.7',
'bresenham>=0.1',
'quamash>=0.5.5'
],
setup_requires=[
'pytest-runner'
],
tests_require=[
'pytest',
],
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Mathematics',
],
)