-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
38 lines (35 loc) · 1.24 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
from setuptools import setup
from setuptools.command.install import install
import subprocess
import os
PACKAGES=['scikit-learn>=0.22',
'shap==0.38.1',
'dask[complete]>=2.9.1',
'patsy',
'safe-transformer>=0.0.5',
'numpy>=0.16.4',
'pandas>=0.25.3',
'kneed>=0.7.0',
'imbalanced-learn>=0.6.1',
'pysnooper>=0.3.0',
'matplotlib>=3.0.0',
'openml==0.9.0',
"xgboost==1.0.0",
"seaborn>=0.10.0"]
with open('README.md','r', encoding='utf-8') as f:
long_description = f.read()
class CustomInstallCommand(install):
"""Custom install setup to help run shell commands (outside shell) before installation"""
def run(self):
self.do_egg_install()
setup(name='interactiontransformer',
version='0.1.2',
description='Extract interactions from complex model using SHAP and add to linear model..',
url='https://github.com/jlevy44/InteractionExtractor',
author='Joshua Levy',
author_email='[email protected]',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
packages=['interactiontransformer'],
install_requires=PACKAGES)