This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 656
/
setup.py
87 lines (81 loc) · 2.64 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
# Copyright 2017 The TensorFlow Lucid Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Setup script for TensorFlow Lucid."""
import lucid
from setuptools import setup, find_packages
version = lucid.__version__
test_deps = ["future", "twine", "pytest", "pytest-mock", "python-coveralls"]
extras = {
"test": test_deps,
"tf": ["tensorflow>=1.6.0"],
"tf_gpu": ["tensorflow-gpu>=1.6.0"],
}
setup(
name="lucid",
packages=find_packages(exclude=[]),
version=version,
description=(
"Collection of infrastructure and tools for research in "
"neural network interpretability."
),
author="The Lucid Authors",
author_email="[email protected]",
url="https://github.com/tensorflow/lucid",
download_url=(
"https://github.com/tensorflow/lucid" "/archive/v{}.tar.gz".format(version)
),
license="Apache License 2.0",
keywords=[
"tensorflow",
"tensor",
"machine learning",
"neural networks",
"convolutional neural networks",
"feature visualization",
"optimization",
],
install_requires=[
"numpy<=1.19",
"scipy",
"scikit-learn",
"umap-learn",
"nltk",
"ipython",
"pillow",
"future",
"decorator",
"pyopengl",
"filelock",
"cachetools",
"more-itertools",
],
setup_requires=["pytest-runner"],
tests_require=test_deps,
extras_require=extras,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)