-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
33 lines (28 loc) · 875 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
"""
Install will.
"""
# import glob
from setuptools import find_packages, setup
with open("will/_version.py", encoding="UTF-8") as f:
for line in f:
if "__version__" in line:
line = line.replace(" ", "").strip()
version = line.split("__version__=")[1].strip('"')
with open("requirements.txt", encoding="UTF-8") as f:
required = f.read().splitlines()
setup(
name="will",
version=version,
description="Weighted Injector of Luminous Lighthouses",
url="https://github.com/josephwkania/will",
author="Joseph W Kania",
packages=find_packages(),
# scripts=glob.glob("bin/*"),
python_requires=">=3.7, <4",
install_requires=required,
extras_require={
"tests": ["pytest", "pytest-cov"],
"cupy": ["cupy>=9.2"],
"docs": ["sphinx", "nbsphinx", "pandoc", "myst-parser"],
},
)