Skip to content

Commit

Permalink
Flit build backend
Browse files Browse the repository at this point in the history
  • Loading branch information
bede committed May 10, 2024
1 parent 432f97a commit f70ff58
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
39 changes: 21 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
[build-system]
requires = [
"setuptools >= 64",
"wheel >= 0.37.1",
]
build-backend = "setuptools.build_meta"
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "primaschema"
description = "A toolkit for primer scheme defintions"
authors = [
{name = "Bede Constantinides", email="[email protected]"},
{name = "Peter van Heusden", email="[email protected]"}
]
dynamic = ["version", "description"]
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
keywords = ["genomics"]
license = {text = "MIT License"}
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
Expand All @@ -23,21 +24,23 @@ classifiers = [
"Operating System :: MacOS",
]
dependencies = [
"biopython == 1.80",
"defopt == 6.4.0",
"pandas >= 1.5.3",
"pre-commit",
"pytest",
"biopython>=1.80",
"defopt==6.4.0",
"pandas>=1.5.3",
"jsonschema",
"pyyaml",
"linkml==1.5.2",
]
dynamic = ["version"]

[project.scripts]
primaschema = "primaschema.cli:main"

[tool.setuptools.dynamic]
version = {attr = "primaschema.__version__"}
[project.urls]
Home = "https://github.com/pha4ge/primaschema"

[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
dev = [
"pytest",
"pre-commit",
"flit"
]
2 changes: 2 additions & 0 deletions src/primaschema/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""A toolkit for tiling primer scheme defintions"""

from pathlib import Path

__version__ = "0.2.0"
Expand Down

0 comments on commit f70ff58

Please sign in to comment.