Skip to content

Commit

Permalink
[Add]MANIFEST.in file for source distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Mar 28, 2019
1 parent 97614f0 commit d52b900
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recursive-include vnpy *.ico *.ini *.dll *.so *.pyd
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,11 @@
include_package_data=True,
packages=pkgs,
package_data={"": [
"*.json", "*.md", "*.ico", "*.ini",
"*.dll", "*.so", "*.pyd"
"*.ico",
"*.ini",
"*.dll",
"*.so",
"*.pyd"
]},
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
1 change: 1 addition & 0 deletions vnpy/trader/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ def add_function(self):
"""Add query function to main engine."""
self.main_engine.get_tick = self.get_tick
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_account = self.get_account
self.main_engine.get_contract = self.get_contract
Expand Down

0 comments on commit d52b900

Please sign in to comment.