-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
54 lines (50 loc) · 1.5 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
import re
import sys
from setuptools import find_packages, setup
with open("millipede/__init__.py") as f:
for line in f:
match = re.match('^__version__ = "(.*)"$', line)
if match:
__version__ = match.group(1)
break
try:
long_description = open("README.md", encoding="utf-8").read()
except Exception as e:
sys.stderr.write("Failed to read README.md: {}\n".format(e))
sys.stderr.flush()
long_description = ""
setup(
name="millipede",
version=__version__,
description="A library for bayesian variable selection",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(include=["millipede"]),
url="https://github.com/BasisResearch/millipede",
author="Martin Jankowiak",
author_email="mjankowi@broadinstitute.org",
install_requires=[
"torch>=1.11",
"pandas",
"polyagamma==1.3.2",
"tqdm",
],
extras_require={
"test": [
"isort>=5.9",
"flake8",
"pytest>=5.0",
],
},
python_requires=">=3.8",
keywords="bayesian variable selection",
license="Apache 2.0",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3.8",
],
)