-
Notifications
You must be signed in to change notification settings - Fork 18
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
14 changed files
with
111 additions
and
2,443 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: cutadapt | ||
plugin_name: q2_cutadapt | ||
plugin_scripts: null | ||
project_author_email: matthewrdillon@gmail.com | ||
project_author_name: Matthew Ryan Dillon | ||
project_description: null | ||
project_name: q2-cutadapt | ||
project_urls_homepage: https://github.com/qiime2/q2-cutadapt | ||
project_urls_repository: https://github.com/qiime2/q2-cutadapt |
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_cutadapt/_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 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 |
---|---|---|
|
@@ -68,4 +68,7 @@ target/ | |
*~ | ||
|
||
.DS_store | ||
.history/ | ||
.history/ | ||
# Version file from versioningit | ||
_version.py | ||
|
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,38 @@ | ||
package: | ||
name: q2-cutadapt | ||
version: {{ PLUGIN_VERSION }} | ||
source: | ||
path: .. | ||
build: | ||
script: make install | ||
requirements: | ||
host: | ||
- python {{ python }} | ||
- setuptools | ||
- versioningit | ||
- wheel | ||
run: | ||
- python {{ python }} | ||
- cutadapt >=3 | ||
- pigz | ||
- pandas {{ pandas }} | ||
- numpy | ||
- qiime2 {{ qiime2_epoch }}.* | ||
- q2-types {{ qiime2_epoch }}.* | ||
build: | ||
- setuptools | ||
- versioningit | ||
test: | ||
requires: | ||
- qiime2 >={{ qiime2 }} | ||
- q2-types >={{ q2_types }} | ||
- pytest | ||
imports: | ||
- q2_cutadapt | ||
- qiime2.plugins.cutadapt | ||
commands: | ||
- py.test --pyargs q2_cutadapt | ||
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,50 @@ | ||
[project] | ||
name = "q2-cutadapt" | ||
authors = [ | ||
{ name = "Matthew Ryan Dillon", email = "matthewrdillon@gmail.com" } | ||
] | ||
description = "None" | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
license = {file = "LICENSE"} | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/qiime2/q2-cutadapt" | ||
Repository = "https://github.com/qiime2/q2-cutadapt" | ||
|
||
[project.entry-points.'qiime2.plugins'] | ||
"q2-cutadapt" = "q2_cutadapt.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-cutadapt/_version.py" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] | ||
include = ["q2_cutadapt*"] | ||
|
||
[tool.setuptools.package-data] | ||
q2_cutadapt = ["**/*"] |
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.