-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
46 lines (42 loc) · 1.29 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
import os
import subprocess
from setuptools import setup, Extension
thelibFolder = os.path.dirname(os.path.realpath(__file__))
requirementPath = 'requirements.txt'
install_requires = []
if os.path.isfile(requirementPath):
with open(requirementPath) as f:
install_requires = f.read().splitlines()
# cmdclass = {}
# ext_modules = [Extension("indicators", ["src/indicators.pyx"])]
# cmdclass.update({'build_ext': build_ext})
setup(
setup_requires=[
'setuptools>=18.0',
'cython',
],
name="cython_indicators",
version="0.0.6",
author="Ethen Pociask",
author_email="[email protected]",
description="Indicator functions using cython",
long_description="TO BE ADDED",
long_description_content_type="text/markdown",
url="https://github.com/epociask/cython_indicator_functions.git",
# packages=setuptools.find_packages(),
install_requires=install_requires,
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
# cmdclass=cmdclass,
ext_modules=[
Extension(
'indicators',
sources=['src/indicators.pyx'],
),
],
)