DEV: Adds type hinting stub for zipline.api

as well as tooling and docs to generate this for each release

Also moved Cython files to package_data, so that we install them,
instead of just packaging them.
This commit is contained in:
Richard Frank
2016-05-19 11:51:12 -04:00
parent 977e5571a1
commit b9b4dc09a4
5 changed files with 761 additions and 3 deletions
+5 -1
View File
@@ -270,9 +270,13 @@ setup(
},
author='Quantopian Inc.',
author_email='opensource@quantopian.com',
packages=find_packages('.', include=['zipline', 'zipline.*']),
packages=find_packages(include=['zipline', 'zipline.*']),
ext_modules=ext_modules,
include_package_data=True,
package_data={root.replace(os.sep, '.'):
['*.pyi', '*.pyx', '*.pxi', '*.pxd']
for root, dirnames, filenames in os.walk('zipline')
if '__pycache__' not in root},
license='Apache 2.0',
classifiers=[
'Development Status :: 4 - Beta',