-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (25 loc) · 809 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (25 loc) · 809 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 pathlib import Path
from setuptools import find_packages, setup
ROOT = Path(__file__).resolve().parent
README = (ROOT / "README.md").read_text(encoding="utf-8")
REQUIREMENTS = [
line.strip()
for line in (ROOT / "requirements.txt").read_text(encoding="utf-8").splitlines()
if line.strip() and not line.lstrip().startswith("#")
]
setup(
name="tablora",
version="2.0.0",
description="Tablora: Desktop editor for CSV, XLSX, and XLSM spreadsheets",
long_description=README,
long_description_content_type="text/markdown",
packages=find_packages(exclude=("tests", "tests.*")),
include_package_data=True,
install_requires=REQUIREMENTS,
entry_points={
"gui_scripts": [
"tablora=main:main",
],
},
python_requires=">=3.12",
)