-
Notifications
You must be signed in to change notification settings - Fork 27
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
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f2e191f
build: use pyproject.toml
jsstevenson c5aa46a
fix SCM config
jsstevenson 4f527af
remove cov config
jsstevenson 0595b60
remove flake8 configs
jsstevenson b86fa83
remove unused dependencies
jsstevenson a715e48
update dpeendencies
jsstevenson bbac90b
test in 3.12
jsstevenson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"}, | ||
] | ||
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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