-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transition from setup.py & friends to pyproject.toml
- Loading branch information
Showing
13 changed files
with
133 additions
and
2,485 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
_commit: dfb0404 | ||
_src_path: https://github.com/qiime2/q2-setup-template.git | ||
module_name: diversity | ||
plugin_name: q2_diversity | ||
plugin_scripts: q2_diversity/_beta/adonis_assets/run_adonis.R | ||
project_author_email: [email protected] | ||
project_author_name: Greg Caporaso | ||
project_description: Core diversity analyses. | ||
project_name: q2-diversity | ||
project_urls_homepage: https://qiime2.org | ||
project_urls_repository: https://github.com/qiime2/q2-diversity |
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 @@ | ||
q2_diversity/_version.py export-subst | ||
pyproject.toml export-subst |
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 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
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,60 @@ | ||
package: | ||
name: q2-diversity | ||
version: {{ PLUGIN_VERSION }} | ||
source: | ||
path: .. | ||
build: | ||
script: make install | ||
requirements: | ||
build: | ||
- nodejs | ||
- setuptools | ||
- versioningit | ||
host: | ||
- python {{ python }} | ||
- setuptools | ||
- versioningit | ||
- wheel | ||
run: | ||
- python {{ python }} | ||
- numpy | ||
- scipy {{ scipy }} | ||
- pandas {{ pandas }} | ||
- statsmodels | ||
- seaborn | ||
- ipywidgets | ||
- scikit-bio {{ scikit_bio }} | ||
- scikit-learn {{ scikit_learn }} | ||
- psutil | ||
- natsort | ||
- biom-format {{ biom_format }} | ||
- qiime2 {{ qiime2_epoch }}.* | ||
- q2templates {{ qiime2_epoch }}.* | ||
- q2-types {{ qiime2_epoch }}.* | ||
- q2-feature-table {{ qiime2_epoch }}.* | ||
- q2-metadata {{ qiime2_epoch }}.* | ||
- q2-emperor {{ qiime2_epoch }}.* | ||
- q2-diversity-lib {{ qiime2_epoch }}.* | ||
- r-base {{ r_base }} | ||
- r-vegan >=2.5_3 | ||
- umap-learn | ||
- numba | ||
test: | ||
requires: | ||
- qiime2 >={{ qiime2 }} | ||
- q2templates >={{ q2templates }} | ||
- q2-types >={{ q2_types }} | ||
- q2-feature-table >={{ q2_feature_table }} | ||
- q2-metadata >={{ q2_metadata }} | ||
- q2-emperor >={{ q2_emperor }} | ||
- q2-diversity-lib >={{ q2_diversity_lib }} | ||
- pytest | ||
imports: | ||
- q2_diversity | ||
- qiime2.plugins.diversity | ||
commands: | ||
- py.test --pyargs q2_diversity | ||
about: | ||
home: https://qiime2.org | ||
license: BSD-3-Clause | ||
license_family: BSD |
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,53 @@ | ||
[project] | ||
name = "q2-diversity" | ||
authors = [ | ||
{ name = "Greg Caporaso", email = "[email protected]" } | ||
] | ||
description = "Core diversity analyses." | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
license = {file = "LICENSE"} | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Homepage = "https://qiime2.org" | ||
Repository = "https://github.com/qiime2/q2-diversity" | ||
|
||
[project.entry-points.'qiime2.plugins'] | ||
"q2-diversity" = "q2_diversity.plugin_setup:plugin" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools", | ||
"versioningit", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.versioningit.vcs] | ||
method = "git-archive" | ||
describe-subst = "$Format:%(describe)$" | ||
default-tag = "0.0.1" | ||
|
||
[tool.versioningit.next-version] | ||
method = "minor" | ||
|
||
[tool.versioningit.format] | ||
distance = "{base_version}+{distance}.{vcs}{rev}" | ||
dirty = "{base_version}+{distance}.{vcs}{rev}.dirty" | ||
distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty" | ||
|
||
[tool.versioningit.write] | ||
file = "q2-diversity/_version.py" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
script-files = [ | ||
"q2_diversity/_beta/adonis_assets/run_adonis.R" | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] | ||
include = ["q2_diversity*"] | ||
|
||
[tool.setuptools.package-data] | ||
q2_diversity = ["**/*"] |
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
Oops, something went wrong.