Update PyPi package metadata and resolve Travis CI failing build (#1602)

* Update PyPi package metadata setup.py 'long_description'

* Add V8 package to Travis CI config & caching pip
This commit is contained in:
Dani 2020-07-30 07:02:37 +07:00 committed by GitHub
parent 198ef89082
commit 1053a6e9ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,8 @@
dist: xenial
addons:
apt:
packages:
- libv8-dev
language: python
jobs:
@ -6,6 +10,7 @@ jobs:
- language: python
python:
- "3.7"
cache: pip
install:
- pip install --upgrade pip
- pip install -U -r python/requirements.txt dask[dataframe] distributed

View file

@ -113,6 +113,8 @@ class TestCommand(test_command):
sys.modules.update(old_modules)
working_set.__init__()
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt', 'r') as f:
install_requires = f.read().splitlines()
@ -143,7 +145,6 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
long_description="""
Implements a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.
"""
long_description=long_description,
long_description_content_type='text/markdown',
)