-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
57 lines (48 loc) · 1.35 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
import re
import setuptools
# from faslr.constants import BUILD_VERSION
def get_property(
prop: str,
project: str
) -> str:
result = re.search(
r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop),
open(project + '/_version.py').read())
return result.group(1)
project_name = 'faslr'
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name=project_name,
version=get_property('__version__', project_name),
author="Gene Dan",
author_email="[email protected]",
description="Free Actuarial System for Loss Reserving",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/genedan/FASLR",
project_urls={
"Documentation": "https://genedan.com/faslr/docs"
},
install_requires=[
'bs4',
'chainladder',
'GitPython',
'matplotlib',
'numpy',
'pandas',
'pydata-sphinx-theme',
'pytest',
'pytest-cov',
'PyQt6',
'sphinx_design',
'sqlalchemy'
],
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
],
python_requires='>=3.10.0',
)