-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
44 lines (40 loc) · 1.38 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
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
from pathlib import Path
import numpy as np
# Display README on PyPI page
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
extensions = [
Extension(name="cashflower.cython.discount",
sources=["cashflower/cython/discount.pyx"],
include_dirs=[np.get_include()]),
]
setup(
author="Zuzanna Chmielewska",
description="Framework for actuarial cash flow models",
ext_modules=cythonize(extensions, compiler_directives={"language_level": "3"}),
include_package_data=True,
install_requires=[
'pandas',
'psutil',
'networkx',
'numpy'
],
long_description=long_description,
long_description_content_type="text/markdown",
name="cashflower",
package_data={
'cashflower': ["cython/discount.pyx"],
},
packages=find_packages(include=["cashflower", "cashflower.*"]),
project_urls={
'Source': 'https://github.com/acturtle/cashflower',
'Tracker': 'https://github.com/acturtle/cashflower/issues',
'Documentation': 'https://cashflower.acturtle.com',
'Cheat sheet': 'https://www.acturtle.com/static/pdf/cheat_sheet.pdf',
},
python_requires='>=3.11',
url="https://github.com/acturtle/cashflower",
version="0.9.2",
)