-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (37 loc) · 934 Bytes
/
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
from setuptools import find_namespace_packages, setup
with open("README.rst") as fp:
long_description = fp.read().replace(".. toctree::", "..").replace(":doc:", ":code:")
setup(
name="gptools-torch",
long_description=long_description,
long_description_content_type="text/x-rst",
packages=find_namespace_packages(),
version="0.1.0",
python_requires=">=3.8",
install_requires=[
"gptools-util",
"numpy",
"torch",
],
extras_require={
"docs": [
"myst-nb",
"sphinx",
"sphinx-multiproject",
"sphinx_rtd_theme",
],
"tests": [
"doit-interface",
"flake8",
"jupyter",
"matplotlib",
"networkx",
"pytest",
"pytest-cov",
"scipy",
"tabulate",
"tqdm",
"twine",
],
}
)