forked from libertytechforce/statusforce
Merge pull request 'Migrate to hatch' (#1) from raoul/statusforce:migrate-to-hatch into master
Reviewed-on: libertytechforce/statusforce#1master
commit
f9145b63d9
|
@ -2,3 +2,4 @@ __pycache__
|
|||
*.py[co]
|
||||
*.sqlite
|
||||
data/
|
||||
dist/
|
||||
|
|
|
@ -0,0 +1,64 @@
|
|||
[build-system]
|
||||
requires = ["hatchling", "hatch-vcs"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "StatusForce"
|
||||
description = "Simple status page for system status"
|
||||
readme = "README.rst"
|
||||
license = "MIT"
|
||||
requires-python = ">=3.10"
|
||||
authors = [
|
||||
{ name = "Raoul Snyman", email = "raoul@libertytechforce.com" },
|
||||
]
|
||||
keywords = [
|
||||
"status",
|
||||
"website",
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: POSIX",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Topic :: Utilities",
|
||||
]
|
||||
dependencies = [
|
||||
"Flask",
|
||||
"Flask-Admin",
|
||||
"Flask-Login",
|
||||
"Flask-SQLAlchemy",
|
||||
"psycopg2-binary",
|
||||
"pymysql",
|
||||
"greenlet<0.5,>=0.4.5"
|
||||
]
|
||||
dynamic = ["version"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://libertytechforce.com"
|
||||
Issues = "https://git.libertytechforce.com/libertytechforce/statusforce/issues"
|
||||
Source = "https://git.libertytechforce.com/libertytechforce/statusforce"
|
||||
|
||||
[project.optional-dependencies]
|
||||
tests = [
|
||||
"pytest",
|
||||
"pytest-faker",
|
||||
"pytest-flask"
|
||||
]
|
||||
|
||||
[tool.hatch.version]
|
||||
source = "vcs"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
include = [
|
||||
"/statusforce",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
include = [
|
||||
"statusforce",
|
||||
]
|
37
setup.cfg
37
setup.cfg
|
@ -1,37 +0,0 @@
|
|||
[metadata]
|
||||
name = StatusForce
|
||||
version = 0.0.1
|
||||
author = Raoul Snyman
|
||||
author_email = raoul@libertytechforce.com
|
||||
description = Simple status page for system status
|
||||
long_description = file:README.rst
|
||||
long_description_content_type = text/x-rst
|
||||
url = https://libertytechforce.com
|
||||
license = MIT
|
||||
classifiers =
|
||||
Development Status :: 3 - Alpha
|
||||
Intended Audience :: Developers
|
||||
License :: OSI Approved :: MIT License
|
||||
Operating System :: POSIX
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
Programming Language :: Python :: 3.10
|
||||
Topic :: Utilities
|
||||
keywords = website, status
|
||||
|
||||
[options]
|
||||
py_modules = statusforce
|
||||
python_requires = >=3.7
|
||||
install_requires =
|
||||
Flask
|
||||
Flask-Admin
|
||||
Flask-SQLAlchemy
|
||||
Flask-Login
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
||||
[flake8]
|
||||
max-line-length = 120
|
Loading…
Reference in New Issue