-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
43 lines (38 loc) · 1.2 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
from setuptools import setup
import re
def get_property(prop):
result = re.search(
r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), open("tx2/__init__.py").read()
)
return result.group(1)
with open("README.md", "r", encoding="utf-8") as infile:
long_description = infile.read()
setup(
name="tx2",
version=get_property("__version__"),
description="Transformer eXplainability and eXploration",
long_description=long_description,
long_description_content_type="text/markdown",
author="Nathan Martindale, Scott L. Stewart",
author_email="tx2-help@ornl.gov",
url="https://github.com/ORNL/tx2",
project_urls={"Documentation": "https://ornl.github.io/tx2/"},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
python_requires="~=3.9",
packages=["tx2"],
install_requires=[
"scikit-learn~=1.1",
"pandas~=1.4",
"numpy~=1.22",
"torch~=1.12",
"tqdm",
"umap-learn~=0.5",
"matplotlib~=3.5",
"ipywidgets~=7.7",
"wordcloud~=1.8",
],
)