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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pySBOL2
![gh-action badge](https://github.com/SynBioDex/pySBOL2/workflows/Python%20package/badge.svg)
![readthedocs badge](https://readthedocs.org/projects/pysbol2/badge/)
[![gh-action badge](https://github.com/SynBioDex/pySBOL2/workflows/Python%20package/badge.svg)](https://github.com/SynBioDex/pySBOL2/actions/workflows/python-package.yml)
[![readthedocs badge](https://readthedocs.org/projects/pysbol2/badge/)](https://pysbol.readthedocs.io)

**pySBOL2** is a pure Python implementation of the
SBOL 2.3.0 standard [Synthetic Biology Open Language (SBOL)](https://sbolstandard.org/) -
Expand Down
57 changes: 57 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=80.1" ]

[project]
name = "sbol2"
description = "Pure Python implementation of SBOL 2 standard"
readme = "README.md"
keywords = [
"biology",
"synthetic biology",
]
license = "Apache-2.0"
authors = [
{ name = "Bryan Bartley", email = "editors@sbolstandard.org" },
]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [
"deprecated",
"lxml",
# As of August 2026 the code is incompatible with packaging >= 26.1
# https://github.com/SynBioDex/pySBOL2/issues/450
"packaging<26.1",
"python-dateutil",
"rdflib>=5",
"requests",
"urllib3",
]
urls.changelog = "https://github.com/SynBioDex/pySBOL2/blob/master/CHANGELOG.md"
urls.documentation = "https://pysbol.readthedocs.io/"
urls.homepage = "https://github.com/SynBioDex/pySBOL2"
urls.issues = "https://github.com/SynBioDex/pySBOL2/issues"
urls.source = "https://github.com/SynBioDex/pySBOL2.git"

[dependency-groups]
# Install with pip: "python3 -m pip install --group dev"
# Install with uv: "uv sync --all-groups" or "uv sync --group dev"
dev = [
"pycodestyle>=2.14",
"ruff>=0.16.1",
]

[tool.setuptools]
packages = [ "sbol2" ]
# Include libSBOLj.jar in the distribution
package-data.sbol2 = [ "libSBOLj.jar" ]
dynamic.version = { attr = "sbol2.__version__" }
46 changes: 0 additions & 46 deletions setup.py

This file was deleted.