-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (43 loc) · 1.19 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
import os
from setuptools import find_packages, setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(file_name):
return open(os.path.join(os.path.dirname(__file__), file_name)).read()
install_requires = [
'numpy',
'pandas',
'pytest'
]
setup_requirements = [
'pytest-runner',
'better-setuptools-git-version'
]
test_requirements = [
'pytest',
'nbformat'
]
setup(
author='Johannes Alnes',
author_email="[email protected]",
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities"
],
name="SinglePremium",
# version="0.0.1",
version_config={
"version_format": "{tag}.dev{sha}",
"starting_version": "0.0.1"
},
description="A demo project for single premium calculation",
long_description=open('README.md').read(),
packages=find_packages('src'),
package_dir={'': 'src'},
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
install_requires=install_requires
)