99 lines
2.2 KiB
TOML
99 lines
2.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "HereIAm"
|
|
dynamic = ["version"]
|
|
description = "A macOS application that moves the mouse cursor to prevent inactivity."
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Jerico Thomas", email = "jerico@tekop.net"}
|
|
]
|
|
maintainers = [
|
|
{name = "Jerico Thomas", email = "jerico@tekop.net"}
|
|
]
|
|
keywords = ["macos", "mouse", "activity", "prevention", "system-tray"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"Operating System :: MacOS",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Utilities",
|
|
"Environment :: MacOS X",
|
|
"Environment :: MacOS X :: Cocoa",
|
|
]
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
"pyautogui>=0.9.54",
|
|
"PyQt5>=5.15.0",
|
|
"pyobjc-framework-Cocoa>=9.0",
|
|
"pyobjc-framework-Quartz>=9.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"black>=22.0.0",
|
|
"flake8>=4.0.0",
|
|
]
|
|
build = [
|
|
"pyinstaller>=5.0.0",
|
|
"dmgbuild>=1.6.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/your-username/hereiam"
|
|
Repository = "https://github.com/your-username/hereiam.git"
|
|
Issues = "https://github.com/your-username/hereiam/issues"
|
|
|
|
[project.scripts]
|
|
hereiam = "src.main:main"
|
|
|
|
[project.gui-scripts]
|
|
hereiam-gui = "src.main:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "."}
|
|
packages = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"*" = ["assets/*.icns", "assets/*.png"]
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "src.__init__.__version__"}
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ['py38']
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
/(
|
|
# directories
|
|
\.eggs
|
|
| \.git
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
| tests
|
|
)/
|
|
'''
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|