-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
39 lines (32 loc) · 970 Bytes
/
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
import io
from os.path import dirname
from os.path import join
from setuptools import setup, Extension, find_packages
from Cython.Build import cythonize
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
extentions = [
Extension("memory", sources=['src/cython/memory/memory.pyx']),
]
setup(
name="ixypy",
version="0.0.1",
author="Alexandru Obada",
author_email="alexandru.obad@gmail.com",
description="Some description",
long_description=read('README.md'),
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
include_package_data=True,
install_requires=['numpy==1.15.4'],
setup_requires=[],
packages=find_packages('src'),
package_dir={'': 'src'},
ext_modules=cythonize(extentions, annotate=True))