-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (44 loc) · 1.41 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
from setuptools import setup, find_packages, Extension
from sysconfig import get_path
from mktstructure import (
__version__,
__description__,
__author__,
__author_email__,
__github_url__,
)
requires = ["requests", "numba", "pandas", "numpy", "tqdm"]
trth_parser = Extension(
"mktstructure.trth_parser",
include_dirs=[get_path("platinclude")],
sources=["mktstructure/trth_parser.c"],
language="C",
)
setup(
name="mktstructure",
version=__version__,
description=__description__,
long_description=open("README.md").read(),
long_description_content_type="text/markdown; charset=UTF-8; variant=GFM",
author=__author__,
author_email=__author_email__,
url=__github_url__,
packages=find_packages(),
install_requires=requires,
entry_points={"console_scripts": ["mktstructure=mktstructure.main:main"]},
ext_modules=[trth_parser],
package_data={
"": ["LICENSE", "README.md", "*.c"],
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
],
license="MIT",
)