-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replacing Setup.py with Pyproject.py (#279)
* replaced setup.cfg and setup.py completely with pyproject.toml, removed recursive packaging from test-requirements.txt and dev-requirements.txt, removed setup* from tox.ini, * updated mypy and issort version * In git actions removed setup.py check command, currently no integrated solution to validate pyproject.toml * updated python support to =>3.9 because 3.7 is no longer being supported and 3.8 support will end this year --------- Co-authored-by: bshifaw <[email protected]>
- Loading branch information
Showing
10 changed files
with
66 additions
and
89 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
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,13 +1,13 @@ | ||
isort==4.3.21 | ||
isort==5.13.2 | ||
tox | ||
wheel | ||
bumpversion | ||
twine | ||
black | ||
flake8 | ||
pylint | ||
tomli==2.0.1 | ||
cython | ||
sphinx | ||
sphinx-rtd-theme | ||
mypy==0.770 | ||
-r requirements.txt | ||
mypy==1.8.0 |
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,3 +1,4 @@ | ||
|
||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
@@ -7,8 +8,53 @@ name = "cromshell" | |
# Version number is automatically set via bumpversion. DO NOT MODIFY: | ||
version = "2.1.1" | ||
readme = "README.md" | ||
|
||
description="Command Line Interface (CLI) for Cromwell servers" | ||
authors=[ | ||
{name = "Jonn Smith", email = "[email protected]"}, | ||
{name = "Louis Bergelson", email = "[email protected]"}, | ||
{name = "Beri Shifaw", email = "[email protected]"}, | ||
] | ||
license={text = "BSD 3-Clause"} | ||
requires-python=">=3.9" | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Natural Language :: English", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
] | ||
keywords = [ | ||
"cromwell", "cromshell", "cromwell-cli", "cromwell-client", "cromwell-api", | ||
"cromwell-rest", "cromwell-utilities", "cromwell-tools", | ||
] | ||
dynamic = ["dependencies", "optional-dependencies"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/broadinstitute/cromshell" | ||
"Bug Tracker" = "https://github.com/broadinstitute/cromshell/issues" | ||
|
||
[project.scripts] | ||
cromshell = "cromshell.__main__:main_entry" | ||
|
||
# Configuration for the `setuptools` package | ||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
optional-dependencies = {dev = { file = ["dev-requirements.txt"]}, tests = { file = ["test-requirements.txt"]}} | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
include = ["cromshell*"] | ||
|
||
# former setup.cfg configuration for mypy | ||
[tool.mypy."numpy.*"] | ||
ignore_missing_imports = true | ||
|
||
[tool.mypy."pysam.*"] | ||
ignore_missing_imports = true | ||
|
||
[tool.mypy."pytest.*"] | ||
ignore_missing_imports = true |
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 |
---|---|---|
|
@@ -2,4 +2,3 @@ pytest | |
pytest-cov | ||
pytest-dependency | ||
coverage>=4.5 | ||
-r requirements.txt |
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