forked from CamDavidsonPilon/lifelines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (50 loc) · 1.69 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
import os
from setuptools import 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(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
exec(compile(open('lifelines/version.py').read(),
'lifelines/version.py', 'exec'))
setup(
name="lifelines",
version=__version__,
author="Cameron Davidson-Pilon, Jonas Kalderstam",
author_email="[email protected]",
description="Survival analysis in Python, including Kaplan Meier, Nelson Aalen and regression",
license="MIT",
keywords="survival analysis statistics data analysis",
url="https://github.com/CamDavidsonPilon/lifelines",
packages=['lifelines',
'lifelines.datasets',
'lifelines.fitters',
'lifelines.utils',
],
long_description=read('README.txt'),
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering",
],
install_requires=[
"numpy",
"scipy",
"pandas>=0.18",
],
package_data={
"lifelines": [
"../README.md",
"../README.txt",
"../LICENSE",
"../MANIFEST.in",
"datasets/*",
]
},
)