-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build!: define in pyproject.toml (#285)
* use `src/` layout * define build configs in `pyproject.toml` using `setuptools-scm` rather than `version.py` * update some associated metadata
- Loading branch information
1 parent
2548408
commit cb83cb3
Showing
28 changed files
with
84 additions
and
68 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
web: sh -c 'cd ./server/ && gunicorn -k uvicorn.workers.UvicornWorker curfu.main:app --timeout 1000 --log-level debug' | ||
web: sh -c 'cd ./server/src/ && gunicorn -k uvicorn.workers.UvicornWorker curfu.main:app --timeout 1000 --log-level debug' |
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 |
---|---|---|
@@ -1,6 +1,73 @@ | ||
[project] | ||
name = "curfu" | ||
authors = [ | ||
{name = "Alex Wagner", email = "[email protected]"}, | ||
{name = "Kori Kuzma", email = "[email protected]"}, | ||
{name = "James Stevenson", email = "[email protected]"}, | ||
{name = "Katie Stahl", email = "[email protected]"}, | ||
{name = "Jeremy Arbesfeld", email = "[email protected]"} | ||
] | ||
readme = "README.md" | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: Developers", | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
requires-python = ">=3.10" | ||
description = "Curation tool for gene fusions" | ||
license = {file = "../LICENSE"} | ||
dependencies = [ | ||
"fastapi >= 0.72.0", | ||
"aiofiles", | ||
"asyncpg", | ||
"fusor ~= 0.0.30-dev1", | ||
"sqlparse >= 0.4.2", | ||
"urllib3 >= 1.26.5", | ||
"click", | ||
"jinja2", | ||
"boto3", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
tests = [ | ||
"pytest", | ||
"pytest-asyncio >= 0.19.0", | ||
"pytest-cov", | ||
"coverage", | ||
"httpx", | ||
] | ||
dev = [ | ||
"psycopg2-binary", | ||
"ruff", | ||
"black", | ||
"pre-commit>=3.7.1", | ||
"gene-normalizer ~= 0.1.39", | ||
"pydantic-to-typescript", | ||
] | ||
|
||
[project.scripts] | ||
curfu_devtools = "curfu.cli:devtools" | ||
curfu = "curfu.cli:serve" | ||
|
||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta:__legacy__" | ||
requires = ["setuptools>=64", "setuptools_scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools_scm] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--cov=src --cov-report term-missing" | ||
testpaths = ["tests"] | ||
|
||
[tool.black] | ||
line-length = 88 | ||
|
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.