forked from mynl/aggregate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (49 loc) · 1.92 KB
/
Copy pathsetup.py
File metadata and controls
60 lines (49 loc) · 1.92 KB
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
# 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)
from setuptools import setup
import os
from time import time
tests_require = ['unittest', 'sly']
install_requires = [
'pypandoc',
'sly==0.3',
'scipy',
'matplotlib',
'numpy'
]
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read()
long_description = read('README.rst')
# agg/*.agg is the parameter and curve files
setup(name="aggregate",
description="aggregate - working with compound probability distributions",
long_description=long_description,
license="""BSD""",
version='0.9.4',
author="Stephen J. Mildenhall",
author_email="steve@convexrisk.com",
maintainer="Stephen J. Mildenhall",
maintainer_email="steve@convexrisk.com",
packages=['aggregate'],
package_data={'': ['*.txt', '*.rst', '*.md', 'agg/*.agg', 'examples/*.py', 'examples/*.ipynb',
'test/*.py']},
tests_require=tests_require,
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Topic :: Education',
'Topic :: Office/Business :: Financial',
'Topic :: Scientific/Engineering :: Mathematics',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Education'
],
project_urls={"Documentation": 'https://www.mynl.com/aggregate/',
"Source Code": "https://github.com/mynl/aggregate_project"}
)