Compare commits

..

No commits in common. "f9145b63d9f140cba55c61d14198ea9bc97b4631" and "d6286ac3e4e32fa3de954d1363bd98fcaac00811" have entirely different histories.

5 changed files with 43 additions and 67 deletions

View File

@ -1,2 +0,0 @@
[flake8]
max-line-length = 120

1
.gitignore vendored
View File

@ -2,4 +2,3 @@ __pycache__
*.py[co]
*.sqlite
data/
dist/

View File

@ -1,64 +0,0 @@
[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 100644
View File

@ -0,0 +1,37 @@
[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

6
setup.py 100644
View File

@ -0,0 +1,6 @@
"""
The statusforce package
"""
from setuptools import setup
setup()