/
setup.py
82 lines (79 loc) · 2.26 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
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="cotengra",
description=(
"Hyper optimized contraction trees "
"for large tensor networks and einsums."
),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jcmgray/cotengra",
project_urls={
"Bug Reports": "https://github.com/jcmgray/cotengra/issues",
"Source": "https://github.com/jcmgray/cotengra/",
},
author="Johnnie Gray",
author_email="johnniemcgray@gmail.com",
license="Apache",
packages=find_packages(exclude=["docs", "tests"]),
include_package_data=True,
install_requires=[
"autoray",
],
extras_require={
"recommended": [
"cotengrust>=0.1.3",
"cytoolz",
"kahypar",
"networkx",
"numpy",
"opt_einsum",
"optuna",
"ray",
"tqdm",
],
"docs": [
"furo",
"ipython!=8.7.0",
"myst-nb",
"setuptools_scm",
"sphinx-autoapi",
"astroid<3.0.0",
"sphinx-copybutton",
"sphinx-design",
"sphinx>=2.0",
],
"test": [
"altair",
"baytune",
"chocolate",
"dask",
"distributed",
"kahypar",
"matplotlib",
"networkx",
"nevergrad",
"numpy",
"opt_einsum",
"pytest",
"seaborn",
"skopt",
],
},
python_requires=">=3.8",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="tensor network contraction graph hypergraph partition einsum",
)