-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] pre-commit autoupdate (#32)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](astral-sh/ruff-pre-commit@v0.4.3...v0.4.4) - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.1.2](tox-dev/pyproject-fmt@1.8.0...2.1.2) - [github.com/abravalheri/validate-pyproject: v0.16 → v0.18](abravalheri/validate-pyproject@v0.16...v0.18) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update .pre-commit-config.yaml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Çağtay Fabry <[email protected]>
- Loading branch information
1 parent
24f0834
commit 171ebb3
Showing
3 changed files
with
37 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=64", | ||
"setuptools-scm[toml]>=6.2", | ||
] | ||
|
||
[project] | ||
name = "pydeps2env" | ||
description = "A python helper to generate conda environment files from project dependencies." | ||
readme = {file = "README.md", content-type="text/markdown"} | ||
readme = { file = "README.md", content-type = "text/markdown" } | ||
keywords = [ | ||
"conda", | ||
"pyproject", | ||
] | ||
license = {file = "LICENSE", name="BSD License"} | ||
license = { file = "LICENSE", name = "BSD License" } | ||
authors = [ | ||
{name="Çağtay Fabry", email="[email protected]"}, | ||
{ name = "Çağtay Fabry", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
|
@@ -31,29 +38,22 @@ dynamic = [ | |
dependencies = [ | ||
"packaging", | ||
"pyyaml", | ||
'tomli; python_version < "3.11"', | ||
"tomli; python_version<'3.11'", | ||
] | ||
[project.optional-dependencies] | ||
test = [ | ||
optional-dependencies.test = [ | ||
# needed to run the test suite | ||
"pytest", | ||
"pytest-cov", | ||
] | ||
[project.urls] | ||
bug_tracker = "https://github.com/CagtayFabry/pydeps2env/-/issues" | ||
repository = "https://github.com/CagtayFabry/pydeps2env" | ||
[project.scripts] | ||
pydeps2env = "pydeps2env.generate_environment:main" | ||
|
||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=64", | ||
"setuptools_scm[toml]>=6.2", | ||
] | ||
urls.bug_tracker = "https://github.com/CagtayFabry/pydeps2env/-/issues" | ||
urls.repository = "https://github.com/CagtayFabry/pydeps2env" | ||
scripts.pydeps2env = "pydeps2env.generate_environment:main" | ||
|
||
[tool.setuptools.packages] | ||
find = {exclude = ["test", "resources"]} | ||
find = { exclude = [ | ||
"test", | ||
"resources", | ||
] } | ||
|
||
[tool.setuptools_scm] | ||
write_to = "pydeps2env/_version.py" |
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,11 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=40.9", | ||
"setuptools-scm", | ||
"wheel", | ||
] | ||
|
||
[project] | ||
name = "test" | ||
requires-python = ">=3.8,<3.10" | ||
|
@@ -8,29 +16,19 @@ classifiers = [ | |
] | ||
dependencies = [ | ||
"boltons", | ||
"IPython", | ||
"ipython", | ||
"numpy>=1.20", | ||
"pandas>=1", | ||
] | ||
[project.optional-dependencies] | ||
doc = [ | ||
optional-dependencies.doc = [ | ||
"sphinx", | ||
] | ||
pip_only = [ | ||
optional-dependencies.pip_only = [ | ||
"bidict", | ||
] | ||
test = [ | ||
optional-dependencies.test = [ | ||
"pytest", | ||
] | ||
[project.urls] | ||
author = "Cagtay Fabry <[email protected]>" | ||
author_email = "[email protected]" | ||
home_page = "https://github.com/CagtayFabry/pydeps2env" | ||
|
||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=40.9", | ||
"setuptools_scm", | ||
"wheel", | ||
] | ||
urls.author = "Cagtay Fabry <[email protected]>" | ||
urls.author_email = "[email protected]" | ||
urls.home_page = "https://github.com/CagtayFabry/pydeps2env" |