-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
82 lines (79 loc) · 2.42 KB
/
setup.py
File metadata and controls
82 lines (79 loc) · 2.42 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env python3
"""
Setup per Focus Mode App - PyPI Distribution
"""
from setuptools import setup, find_packages
from pathlib import Path
# Leggi README
readme_path = Path(__file__).parent / "README.md"
long_description = (
readme_path.read_text(encoding="utf-8") if readme_path.exists() else ""
)
setup(
# Metadata
name="focus-mode-app",
version="1.0.2",
description="Focus Mode App - Linux app blocker with session restore and focus lock",
long_description=long_description,
long_description_content_type="text/markdown",
author="Alessandro Gorla (gorlix)",
author_email="ale.gorla2002@gmail.com",
url="https://github.com/gorlix/focus-mode-app-linux",
project_urls={
"Bug Tracker": "https://github.com/gorlix/focus-mode-app-linux/issues",
"Documentation": "https://github.com/gorlix/focus-mode-app-linux/blob/main/README.md",
"Source Code": "https://github.com/gorlix/focus-mode-app-linux",
},
# License
license="MIT",
# Classificazione
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Utilities",
"Topic :: Desktop Environment",
],
# Packages
packages=find_packages(exclude=["tests", "docs", "data"]),
# Entry Points (comandi CLI)
entry_points={
"console_scripts": [
"focus-mode-app=focus_mode_app.main:main",
"study-mode=focus_mode_app.cli:main",
],
},
# Python Version
python_requires=">=3.10",
# Dependencies
install_requires=[
"psutil>=5.8.0",
"ttkbootstrap>=1.6.0",
"Pillow>=9.0.0",
"PyQt6>=6.0.0",
"rich>=13.0.0",
],
# Optional dependencies
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
],
"gui": ["PyQt6>=6.0.0"],
},
# Include extra files
include_package_data=True,
package_data={
"focus_mode_app": ["data/.gitkeep"],
},
# Metadata
keywords="focus blocker productivity linux wayland",
zip_safe=False,
)