Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "squaresdb"
version = "0.1.20260108"
authors = [
{ name="SquaresDB team", email="squares-webapps@mit.edu" },
{ name="Alex Dehnert", email="adehnert@mit.edu" },
]
description = "MIT Tech Squares membership app"
readme = "README.md"
# Mostly tested on 3.12, but Django 5.2 supports Python 3.10, so *probably* that works
# https://docs.djangoproject.com/en/5.2/releases/5.2/
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Operating System :: OS Independent",
]
license = "MIT"
#license-files = ["LICENSE.txt"]

dependencies = [
# Server
"django~=5.2",
"django-reversion",
"django-select2",
"pytz", # timezone support TODO: confirm works
"social-auth-core[saml]>=3.0",
"social-auth-app-django",
"django-bootstrap-static>=5,<6"
]

[project.optional-dependencies]
scripts = ['flup'] # index.fcgi needs flup
mysql = ['mysqlclient']
dev = [
'pylint', 'pylint-django', # lint
'mypy', 'django-stubs', # type checking
]
doc = ['sphinx>8.2', 'sphinxcontrib-django']

[project.urls]
Homepage = "https://github.com/tech-squares/squaresdb"
Issues = "https://github.com/tech-squares/squaresdb/issues"

[tool.setuptools]
packages = [ "squaresdb" ]
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.