-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (56 loc) · 2.09 KB
/
setup.py
File metadata and controls
60 lines (56 loc) · 2.09 KB
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
60
import re
from pathlib import Path
from setuptools import setup, find_packages
def get_version():
init_file = Path(__file__).parent / 'phandas' / '__init__.py'
content = init_file.read_text(encoding='utf-8')
match = re.search(r'^__version__\s*=\s*["\']([^"\']+)["\']', content, re.M)
return match.group(1) if match else '0.0.0'
setup(
name='phandas',
version=get_version(),
author='Phantom Management',
author_email='quantbai@gmail.com',
description='A multi-factor quantitative trading framework for cryptocurrency markets.',
long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type='text/markdown',
url='https://github.com/quantbai/phandas',
packages=find_packages(),
install_requires=[
'numpy>=2.0.0',
'pandas>=2.0.0,<3.0.0',
'matplotlib>=3.7.0',
'ccxt>=4.0.0',
'scipy>=1.9.0',
'python-okx>=0.4.0',
'requests>=2.25.0',
'mcp>=0.1.0',
'rich>=13.0.0',
],
entry_points={
'console_scripts': [
'phandas-mcp=phandas.mcp_server:main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Office/Business :: Financial',
'Topic :: Office/Business :: Financial :: Investment',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries :: Python Modules',
],
python_requires='>=3.8',
)