forked from casact/chainladder-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (30 loc) · 971 Bytes
/
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
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/jbogaardt/chainladder-python'
version='0.3.1' # Put this in __init__.py
data_path = ''
setup(
name=name,
version=version,
maintainer='John Bogaardt',
maintainer_email='[email protected]',
packages=['{}.{}'.format(name, p) for p in find_packages(where=name)]+['chainladder'],
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",
"joblib"
],
)