-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
88 lines (84 loc) · 2.67 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
import setuptools
from setuptools.command.develop import develop
from setuptools.command.install import install
from subprocess import check_call
from distutils.command.build_py import build_py as _build_py
import sys, os.path
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="adafdr",
version="0.1.8",
author="Martin Zhang, Fei Xia, James Zou",
author_email="[email protected]",
description="A fast and covariate-adaptive method for multiple hypothesis testing",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/martinjzhang/adafdr",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
include_package_data=True,
install_requires=[
'numpy',
'scipy',
'scikit-learn',
'torch==1.4.0',
'matplotlib',
],
)
# The version released with the paper
# setuptools.setup(
# name="adafdr",
# version="0.1.7",
# # version="0.7.0", # test version
# author="Martin Zhang, Fei Xia, James Zou",
# author_email="[email protected]",
# description="A fast and covariate-adaptive method for multiple hypothesis testing",
# long_description=long_description,
# long_description_content_type="text/markdown",
# url="https://github.com/martinjzhang/adafdr",
# packages=setuptools.find_packages(),
# classifiers=[
# "Programming Language :: Python :: 3",
# "License :: OSI Approved :: MIT License",
# "Operating System :: OS Independent",
# ],
# include_package_data=True,
# install_requires=[
# 'numpy',
# 'scipy',
# 'scikit-learn',
# 'torch==0.3.1',
# # 'multiprocessing',
# # 'logging',
# 'matplotlib',
# # 'time',
# # 'os',
# ],
# )
# setup(name='adafdr',
# version='0.1.0',
# description='A fast and covariate-adaptive method for multiple hypothesis testing.',
# url='https://github.com/martinjzhang/adafdr',
# author='Martin Zhang, Fei Xia, James Zou',
# author_email='[email protected]',
# long_description=long_description,
# long_description_content_type="text/markdown",
# license='Stanford University',
# packages=['adafdr'],
# install_requires=[
# 'numpy',
# 'scipy',
# 'sklearn',
# 'torch',
# # 'multiprocessing',
# 'logging',
# 'matplotlib',
# # 'time',
# # 'os',
# ],
# zip_safe=False)