Skip to content

Commit 492247b

Browse files
committed
release v0.9.14
1 parent d550511 commit 492247b

File tree

6 files changed

+29
-32
lines changed

6 files changed

+29
-32
lines changed

.coveragerc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[run]
22
omit =
3-
zvt/recorders/*
4-
zvt/autocode/*
5-
zvt/samples/*
6-
zvt/ui/*
3+
src/zvt/recorders/*
4+
src/zvt/autocode/*
5+
src/zvt/samples/*
76
*__init__*

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9]
11+
python-version: [3.7, 3.8]
1212

1313
steps:
1414
- uses: actions/checkout@v2
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
pip install pytest
3636
pip install pytest-cov
37-
pytest ./tests --cov-config=.coveragerc --cov-report=xml --cov=./zvt --ignore=tests/recorders/ --ignore=tests/domain/
37+
pytest ./tests --cov-config=.coveragerc --cov-report=xml --cov=./src/zvt --ignore=tests/recorders/ --ignore=tests/domain/
3838
- name: Codecov
3939
uses: codecov/codecov-action@v2
4040
with:

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include *.md
22
include *.txt
33
include LICENSE
4-
recursive-include zvt/* *
4+
recursive-include src/zvt/* *

README-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Block registered recorders:{'eastmoney': <class 'zvt.recorders.eastmoney.meta.ch
357357
* 不传入code,codes则是全市场抓取
358358
* 该方法会把数据存储到本地并只做增量更新
359359

360-
定时任务的方式更新可参考[东财数据定时更新](https://github.com/zvtvz/zvt/blob/master/examples/recorders/eastmoney_data_runner1.py)
360+
定时任务的方式更新可参考[定时更新](https://github.com/zvtvz/zvt/blob/master/examples/recorders/data_runner)
361361

362362
#### 全市场选股
363363
查询数据使用的是query_data方法,把全市场的数据记录下来后,就可以在本地快速查询需要的数据了。

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Learn more about record_data
368368
* Recording the whole market if not set code, codes
369369
* This method will store the data locally and only do incremental updates
370370

371-
Refer to the scheduling recoding way[eastmoney runner](https://github.com/zvtvz/zvt/blob/master/examples/recorders/eastmoney_data_runner1.py)
371+
Refer to the scheduling recoding way[data runner](https://github.com/zvtvz/zvt/blob/master/examples/recorders/data_runner)
372372

373373
#### Market-wide stock selection
374374

setup.py

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,15 @@
77
# Always prefer setuptools over distutils
88
from setuptools import setup, find_packages
99

10-
try:
11-
# for pip >= 10
12-
from pip._internal.req import parse_requirements
13-
except ImportError:
14-
# for pip <= 9.0.3
15-
from pip.req import parse_requirements
16-
1710
here = path.abspath(path.dirname(__file__))
1811

1912
# Get the long description from the README file
2013
with open(path.join(here, "README.md"), encoding="utf-8") as f:
2114
long_description = f.read()
2215

23-
# Arguments marked as "Required" below must be included for upload to PyPI.
24-
# Fields marked as "Optional" may be commented out.
25-
26-
install_reqs = parse_requirements("requirements.txt", session=False)
27-
28-
try:
29-
requirements = [str(ir.req) for ir in install_reqs]
30-
except:
31-
requirements = [str(ir.requirement) for ir in install_reqs]
32-
3316
setup(
3417
name="zvt",
35-
version="0.9.13",
18+
version="0.9.14",
3619
description="unified,modular quant framework for human beings ",
3720
long_description=long_description,
3821
url="https://github.com/zvtvz/zvt",
@@ -47,16 +30,31 @@
4730
"Topic :: Software Development :: Build Tools",
4831
"Topic :: Office/Business :: Financial :: Investment",
4932
"License :: OSI Approved :: MIT License",
50-
"Programming Language :: Python :: 3.6",
5133
"Programming Language :: Python :: 3.7",
5234
"Programming Language :: Python :: 3.8",
53-
"Programming Language :: Python :: 3.9",
5435
],
5536
keywords="quant stock finance fintech big-data zvt technical-analysis trading-platform pandas fundamental-analysis",
56-
packages=find_packages(include=["zvt.*", "zvt"]),
57-
python_requires=">=3.5, <4",
37+
package_dir={"": "src"},
38+
packages=find_packages(where="src"),
39+
python_requires=">=3.7, <4",
5840
include_package_data=True,
59-
install_requires=requirements,
41+
install_requires=[
42+
"requests == 2.20.1",
43+
"SQLAlchemy == 1.4.20",
44+
"pandas == 1.1.4",
45+
"arrow == 1.2.1",
46+
"xlrd == 1.2.0",
47+
"demjson3 == 3.0.5",
48+
"marshmallow-sqlalchemy == 0.23.1",
49+
"marshmallow == 3.2.2",
50+
"plotly==4.12.0",
51+
"dash==1.17.0",
52+
"simplejson==3.16.0",
53+
"jqdatapy==0.1.6",
54+
"dash-bootstrap-components==0.11.0",
55+
"dash_daq==0.5.0",
56+
"scikit-learn==1.0.1",
57+
],
6058
project_urls={ # Optional
6159
"Bug Reports": "https://github.com/zvtvz/zvt/issues",
6260
"Funding": "https://www.foolcage.com/zvt",

0 commit comments

Comments
 (0)