forked from casact/tryangle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (39 loc) · 1.49 KB
/
setup.py
File metadata and controls
44 lines (39 loc) · 1.49 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
# 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/.
import os
from setuptools import setup, find_packages
descr = "Tryangle Package - Scientific P&C Loss Reserving"
name = "tryangle"
url = "https://github.com/casact/tryangle"
version = "0.2.0" # Put this in __init__.py
with open("requirements.txt", "r") as f:
dependencies = f.read().splitlines()
with open("README.rst") as f:
long_desc = f.read()
setup(
name="tryangle",
maintainer="Caesar Balona",
maintainer_email="caesar.balona@gmail.com",
version=version,
packages=find_packages(where="src", include=["tryangle", "tryangle.*"]),
package_dir={"": "src"},
scripts=[],
url=url,
license="MPL-2.0",
description=descr,
long_description=long_desc,
long_description_content_type="text/x-rst",
install_requires=dependencies,
include_package_data=True,
package_data={"data": [item for item in os.listdir("src/tryangle/utils/data")]},
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Office/Business :: Financial",
],
)