forked from mynl/aggregate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
119 lines (92 loc) · 3.08 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# https://pythonhosted.org/an_example_pypi_project/setuptools.html
# set HOME=c:\s\telos\python
# python setup.py sdist bdist_wininst upload.bat
# pip freeze > file to list installed packages
# pip install -r requirements.txt to install
# May 2022 to upload manually: twine upload dist/aggregate-0.9*.*
# enter user name and pword (mildenhall) (py... password! not Github)
import aggregate
from setuptools import setup
from pathlib import Path
tests_require = ['unittest', 'sly']
install_requires = [
'cycler',
'ipykernel',
'jinja2',
'matplotlib',
'numpy',
'pandas',
'psutil',
'scipy',
'sly',
'titlecase',
# docs
# 'docutils',
# 'jupyter-sphinx',
# 'nbsphinx',
# 'recommonmark',
# 'setuptools',
# 'sphinx',
# 'sphinx-panels',
# 'sphinx-rtd-dark-mode',
# 'sphinxcontrib-bibtex',
# 'sphinx-copybutton',
# 'sphinx-toggleprompt',
'IPython'
]
long_description = """aggregate
===========
Purpose
-------
``aggregate`` solves insurance, risk management, and actuarial problems using realistic models that reflect underlying frequency and severity.
It delivers the speed and accuracy of parametric distributions to situations that usually require simulation, making it as easy to work with an aggregate (compound) probability distribution as the lognormal.
``aggregate`` includes an expressive language called DecL to describe aggregate distributions and is implemented in Python under an open source BSD-license.
Documentation
-------------
https://aggregate.readthedocs.io/
Where to get it
---------------
https://github.com/mynl/aggregate
Installation
------------
::
pip install aggregate
Dependencies
------------
See requirements.txt.
License
-------
BSD 3 licence
Contributing to aggregate
-------------------------
All contributions, bug reports, bug fixes, documentation improvements,
enhancements and ideas are welcome.
"""
version = aggregate.__version__
setup(name="aggregate",
description="aggregate - powerful tools for compound probability distributions",
long_description=long_description,
long_description_content_type='text/x-rst',
license="BSD",
version=version,
author="Stephen J. Mildenhall",
author_email="[email protected]",
maintainer="Stephen J. Mildenhall",
maintainer_email="[email protected]",
packages=['aggregate'],
package_data={'': ['*.txt', '*.rst', '*.md', 'agg/*.agg']},
tests_require=tests_require,
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Topic :: Office/Business :: Financial',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Education',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Education'
],
project_urls={"Documentation": 'https://aggregate.readthedocs.io/en/latest/',
"Source Code": "https://github.com/mynl/aggregate"}
)