-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (61 loc) · 1.63 KB
/
setup.py
File metadata and controls
65 lines (61 loc) · 1.63 KB
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
"""パッケージセットアップスクリプト"""
import os
from setuptools import setup, find_packages
exclude_patterns = [
"tests*",
"venv*",
"build*",
"dist*",
"*.egg-info*",
".vscode*",
"__pycache__*",
".mypy_cache*",
".pytest_cache*",
".coverage*",
".tox*",
".nox*",
"htmlcov*",
".hypothesis*",
".cache*",
".ipynb_checkpoints*",
".python-version*",
".dmypy.json*",
"Thumbs.db*",
"Desktop.ini*",
"*.env*",
"*.local*",
]
if os.path.exists("README.md"):
with open("README.md", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
else:
LONG_DESCRIPTION = ""
setup(
name="VecPosLib",
version="1.0.4",
description="This is a library that enables vector calculations in Python.",
author="Shotadft",
author_email="98450322+shotadft@users.noreply.github.com",
url="https://github.com/shotadft/VecPosLib",
packages=find_packages(where="package", exclude=exclude_patterns),
package_data={
"package": ["py.typed"],
},
include_package_data=True,
install_requires=["numpy>=2.2.0,<2.4", "numba>=0.61.2"],
extras_require={
"cupy": ["cupy>=10.0"],
},
python_requires=">=3.13",
classifiers=[
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"Natural Language :: Japanese",
"Natural Language :: English",
"Operating System :: OS Independent",
"Typing :: Typed",
"Programming Language :: Python :: 3.13",
],
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
)