-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (27 loc) · 716 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (27 loc) · 716 Bytes
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
from setuptools import setup, find_packages
import re
# Read version from __init__.py
with open("germinette/__init__.py", "r", encoding="utf-8") as f:
version = re.search(r'__version__\s*=\s*"(.*?)"', f.read()).group(1)
setup(
name="germinette",
version=version,
description="Testing tool for 42 Python projects",
author="ExceptedPrism3",
packages=find_packages(),
entry_points={
"console_scripts": [
"germinette=germinette.__main__:main",
],
},
install_requires=[
"rich", # For pretty output
"flake8", # Linter
],
extras_require={
"dev": [
"pytest>=8",
],
},
python_requires=">=3.10",
)