Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: configure build with pyproject.toml #388

Merged
merged 7 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
6 changes: 0 additions & 6 deletions .style.yapf

This file was deleted.

109 changes: 109 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
[project]
name = "ga4gh.vrs"
authors = [
{name = "Larry Babb", email = "lbabb@broadinstitute.org"},
{name = "Reece Hart", email = "reecehart@gmail.com"},
{name = "Andreas Prlic", email = "andreas.prlic@gmail.com"},
{name = "Alex Wagner", email = "alex.wagner@nationwidechildrens.org"},
Comment on lines +4 to +7
Copy link
Contributor Author

@jsstevenson jsstevenson Apr 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

previously this was just Reece, but I went with all of the former and current VR heads for the sake of consistency

]
readme = "README.md"
description = "GA4GH Variation Representation Specification (VRS) reference implementation"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
jsstevenson marked this conversation as resolved.
Show resolved Hide resolved
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
keywords = [
"bioinformatics",
"ga4gh",
"genomics",
"hgvs",
"spdi",
"variation"
]
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"bioutils",
"canonicaljson",
"coloredlogs",
"numpy",
"pyyaml",
jsstevenson marked this conversation as resolved.
Show resolved Hide resolved
"pydantic~=2.1",
]

[project.optional-dependencies]
extras = [
"psycopg2-binary",
"biocommons.seqrepo>=0.5.1",
"bioutils>=0.5.2",
"hgvs>=1.4",
"requests",
jsstevenson marked this conversation as resolved.
Show resolved Hide resolved
"dill~=0.3.7",
"click",
]
dev = [
# tests
"pytest",
"pytest-cov",
"pytest-vcr",
"vcrpy",
"pyyaml",
# style
"pylint",
"yapf",
"smart_open",
# docs
"sphinx",
"sphinx_rtd_theme",
"restview",
# idk? TODO figure it out
"ipython",
"jedi<0.18",
jsstevenson marked this conversation as resolved.
Show resolved Hide resolved
]
notebooks = [
"ipython",
jsstevenson marked this conversation as resolved.
Show resolved Hide resolved
"jupyter",
"tabulate",
jsstevenson marked this conversation as resolved.
Show resolved Hide resolved
]

[project.urls]
Homepage = "https://github.com/ga4gh/vrs-python"
Documentation = "https://github.com/ga4gh/vrs-python"
Changelog = "https://github.com/ga4gh/vrs-python/releases"
Source = "https://github.com/ga4gh/vrs-python"
"Bug Tracker" = "https://github.com/ga4gh/vrs-python/issues"

[build-system]
requires = ["setuptools>=65.3", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools_scm]

[tool.pytest.ini_options]
addopts = "--cov-report=term-missing --cov=ga4gh"
testpaths = ["tests", "src"]
doctest_optionflags = "ALLOW_UNICODE ALLOW_BYTES ELLIPSIS IGNORE_EXCEPTION_DETAIL NORMALIZE_WHITESPACE"

[tool.yapf]
based_on_style = "pep8"
column_limit = 120
spaces_before_comment = 4
split_before_logical_operator = true
split_before_named_assigns = true
127 changes: 0 additions & 127 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

Loading