forked from casact/chainladder-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (36 loc) · 1.19 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup, find_packages
from os import listdir
# import chainladder
descr = "Chainladder Package - P&C Loss Reserving package "
name = 'chainladder'
url = 'https://github.com/casact/chainladder-python'
version='0.7.6' # Put this in __init__.py
data_path = ''
setup(
name=name,
version=version,
maintainer='John Bogaardt',
maintainer_email='jbogaardt@gmail.com',
packages=['{}.{}'.format(name, p) for p in find_packages(where=name)]+[name],
scripts=[],
url=url,
download_url='{}/archive/v{}.tar.gz'.format(url, version),
license='LICENSE',
include_package_data=True,
package_data={'data': [data_path+item
for item in listdir('chainladder{}'.format(data_path))]},
description=descr,
# long_description=open('README.md').read(),
install_requires=[
"pandas>=0.23.0",
"numpy>=1.12.0",
"scikit-learn>=0.18.0",
"scipy",
"sparse",
"joblib",
'xlcompose>=0.2.4'
],
)