mirror of
https://github.com/kernc/backtesting.py.git
synced 2024-01-28 15:29:30 +03:00
setup.py: List packages and include_package_data=True
Gotta remember that even with setuptools_git, these are non-optional!
This commit is contained in:
5
setup.py
5
setup.py
@@ -13,7 +13,8 @@ def _discover_tests():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from setuptools import setup
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name='Backtesting',
|
||||
description="Backtest trading strategies in Python",
|
||||
@@ -21,6 +22,8 @@ if __name__ == '__main__':
|
||||
url="https://github.com/kernc/backtesting.py",
|
||||
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
|
||||
long_description_content_type='text/markdown',
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
setup_requires=[
|
||||
'setuptools_git',
|
||||
'setuptools_scm',
|
||||
|
||||
Reference in New Issue
Block a user