-
Notifications
You must be signed in to change notification settings - Fork 83
/
setup.py
44 lines (40 loc) · 1.58 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
from setuptools import setup, find_packages
from distutils.extension import Extension
import numpy as np
from Cython.Distutils import build_ext
with open('README.md') as f:
long_description = f.read()
ext_modules = [
Extension(name='tulipy.lib',
sources=['libindicators/tiamalgamation.c', 'tulipy/lib/__init__.pyx'],
language='c',
include_dirs=['libindicators', 'tulipy/lib', np.get_include()],
)
]
setup(
name='tulipy',
description='Financial Technical Analysis Indicator Library. Python bindings for https://github.com/TulipCharts/tulipindicators',
long_description=long_description,
long_description_content_type='text/markdown; charset=UTF-8',
version='0.4.0',
url='https://github.com/cirla/tulipy',
author='https://github.com/cirla/tulipy/blob/master/AUTHORS',
license='LGPL-3.0',
cmdclass={'build_ext': build_ext},
ext_modules=ext_modules,
packages=find_packages(exclude=["tests"]),
install_requires=['numpy'],
setup_requires=['Cython', 'numpy'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Cython',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Office/Business :: Financial',
'Topic :: Scientific/Engineering :: Information Analysis',
],
)