mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-18 08:53:42 +00:00
Fixes to get tests to run on Python 3
This commit is contained in:
parent
2ab01c5d77
commit
12aa324a83
2 changed files with 5 additions and 0 deletions
|
|
@ -4,3 +4,6 @@ include LICENSE
|
||||||
|
|
||||||
# Ensure in-place built models do not get included in the source dist.
|
# Ensure in-place built models do not get included in the source dist.
|
||||||
prune fbprophet/stan_models
|
prune fbprophet/stan_models
|
||||||
|
|
||||||
|
# Necessary for tests to run
|
||||||
|
include fbprophet/tests/*.csv
|
||||||
|
|
@ -113,6 +113,8 @@ setup(
|
||||||
],
|
],
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
|
# For Python 3, Will enforce that tests are run after a build.
|
||||||
|
use_2to3=True,
|
||||||
cmdclass={
|
cmdclass={
|
||||||
'build_py': BuildPyCommand,
|
'build_py': BuildPyCommand,
|
||||||
'develop': DevelopCommand,
|
'develop': DevelopCommand,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue