[Add]MANIFEST.in file for source distribution

This commit is contained in:
vn.py 2019-03-28 22:35:45 +08:00
parent 97614f0463
commit d52b900876
3 changed files with 7 additions and 2 deletions

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
recursive-include vnpy *.ico *.ini *.dll *.so *.pyd

View File

@ -111,8 +111,11 @@ setup(
include_package_data=True, include_package_data=True,
packages=pkgs, packages=pkgs,
package_data={"": [ package_data={"": [
"*.json", "*.md", "*.ico", "*.ini", "*.ico",
"*.dll", "*.so", "*.pyd" "*.ini",
"*.dll",
"*.so",
"*.pyd"
]}, ]},
classifiers=[ classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",

View File

@ -296,6 +296,7 @@ class OmsEngine(BaseEngine):
"""Add query function to main engine.""" """Add query function to main engine."""
self.main_engine.get_tick = self.get_tick self.main_engine.get_tick = self.get_tick
self.main_engine.get_order = self.get_order self.main_engine.get_order = self.get_order
self.main_engine.get_trade = self.get_trade
self.main_engine.get_position = self.get_position self.main_engine.get_position = self.get_position
self.main_engine.get_account = self.get_account self.main_engine.get_account = self.get_account
self.main_engine.get_contract = self.get_contract self.main_engine.get_contract = self.get_contract