Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
clapper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
software
clapper
Commits
faad5baf
Commit
faad5baf
authored
1 year ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[pyproject] Adds support for pixi development installation
parent
0ad1bac5
Branches
Branches containing commit
No related tags found
1 merge request
!21
Adds support for pixi development installation
Pipeline
#85587
failed
1 year ago
Stage: qa
Stage: test
Stage: doc
Stage: dist
Stage: deploy
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+0
-2
0 additions, 2 deletions
.gitignore
.reuse/dep5
+5
-3
5 additions, 3 deletions
.reuse/dep5
pixi.lock
+2363
-0
2363 additions, 0 deletions
pixi.lock
pyproject.toml
+61
-27
61 additions, 27 deletions
pyproject.toml
with
2429 additions
and
32 deletions
.gitignore
+
0
−
2
View file @
faad5baf
...
@@ -25,5 +25,3 @@ _work/
...
@@ -25,5 +25,3 @@ _work/
.pytest_cache/
.pytest_cache/
changelog.md
changelog.md
.pixi/
.pixi/
pixi.lock
pixi.toml
This diff is collapsed.
Click to expand it.
.reuse/dep5
+
5
−
3
View file @
faad5baf
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: clapp
Upstream-Name: clapp
er
Upstream-Contact: Andre Anjos <andre.anjos@idiap.ch>
Upstream-Contact: Andre Anjos <andre.anjos@idiap.ch>
Source: https://gitlab.idiap.ch/software/clapp
Source: https://gitlab.idiap.ch/software/clapp
er
Files: tests/data/*
Files:
pixi.lock
tests/data/*
Copyright: Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
Copyright: Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
License: BSD-3-Clause
License: BSD-3-Clause
This diff is collapsed.
Click to expand it.
pixi.lock
0 → 100644
+
2363
−
0
View file @
faad5baf
This diff is collapsed.
Click to expand it.
pyproject.toml
+
61
−
27
View file @
faad5baf
...
@@ -12,7 +12,7 @@ dynamic = ["version"]
...
@@ -12,7 +12,7 @@ dynamic = ["version"]
requires-python
=
">
=
3.10
"
requires-python
=
">
=
3.10
"
description
=
"Configuration Support for Python Packages and CLIs"
description
=
"Configuration Support for Python Packages and CLIs"
readme
=
"README.md"
readme
=
"README.md"
license
=
{
text
=
"BSD
3-Clause
License"
}
license
=
"BSD
-
3-Clause
"
authors
=
[
{
name
=
"Andre Anjos"
,
email
=
"andre.anjos@idiap.ch"
}
]
authors
=
[
{
name
=
"Andre Anjos"
,
email
=
"andre.anjos@idiap.ch"
}
]
classifiers
=
[
classifiers
=
[
"Development Status :: 4 - Beta"
,
"Development Status :: 4 - Beta"
,
...
@@ -24,32 +24,6 @@ classifiers = [
...
@@ -24,32 +24,6 @@ classifiers = [
]
]
dependencies
=
["click>
=
8
", "
tomli
", "
tomli-w
", "
xdg
"]
dependencies
=
["click>
=
8
", "
tomli
", "
tomli-w
", "
xdg
"]
[tool.hatch.version]
source
=
"versioningit"
[tool.versioningit.next-version]
method
=
"smallest"
[tool.versioningit.format]
# Example formatted version: 1.2.4.dev42+ge174a1f
distance
=
"{next_version}.dev{distance}+{vcs}{rev}"
# Example formatted version: 1.2.4.dev42+ge174a1f.d20230922
distance-dirty
=
"{next_version}.dev{distance}+{vcs}{rev}.d{build_date:%Y%m%d}"
[tool.hatch.build.targets.sdist]
include
=
[
"src/**/*.py"
,
"tests/**/*.py"
,
"tests/**/*.cfg"
,
"doc/**/*.rst"
,
"doc/**/*.txt"
,
"doc/**/*.py"
,
"LICENSES/*.txt"
,
]
[tool.hatch.build.targets.wheel]
packages
=
[
"src/clapper"
]
[project.urls]
[project.urls]
documentation
=
"https://clapper.readthedocs.io/en/latest/"
documentation
=
"https://clapper.readthedocs.io/en/latest/"
homepage
=
"https://pypi.org/project/clapper"
homepage
=
"https://pypi.org/project/clapper"
...
@@ -81,6 +55,66 @@ complex-var = "tests.data.complex:cplx"
...
@@ -81,6 +55,66 @@ complex-var = "tests.data.complex:cplx"
verbose-config
=
"tests.data.verbose_config"
verbose-config
=
"tests.data.verbose_config"
error-config
=
"tests.data.doesnt_exist"
error-config
=
"tests.data.doesnt_exist"
[tool.pixi.project]
name
=
"clapper"
channels
=
[
"conda-forge"
]
platforms
=
[
"linux-64"
,
"osx-arm64"
]
[tool.pixi.dependencies]
click
=
">
=
8
"
tomli
=
"*"
tomli-w
=
"*"
xdg
=
"*"
[tool.pixi.host-dependencies]
pre-commit
=
"*"
ruff
=
"*"
reuse
=
"*"
sphinx
=
"*"
furo
=
"*"
sphinx-autodoc-typehints
=
"*"
sphinxcontrib-programoutput
=
"*"
auto-intersphinx
=
"*"
sphinx-copybutton
=
"*"
sphinx-inline-tabs
=
"*"
pytest
=
"*"
pytest-cov
=
"*"
[tool.pixi.pypi-dependencies]
clapper
=
{
path
=
"."
,
editable
=
true
,
extras
=
[
"qa"
,
"doc"
,
"test"
]
}
[tool.pixi.tasks]
qa-install
=
"pre-commit install"
qa
=
"pre-commit run --all-files"
doc
=
"rm -rf doc/api && rm -rf html && sphinx-build -aEW doc html"
test
=
"pytest -sv tests/"
[tool.hatch.version]
source
=
"versioningit"
[tool.versioningit.next-version]
method
=
"smallest"
[tool.versioningit.format]
# Example formatted version: 1.2.4.dev42+ge174a1f
distance
=
"{next_version}.dev{distance}+{vcs}{rev}"
# Example formatted version: 1.2.4.dev42+ge174a1f.d20230922
distance-dirty
=
"{next_version}.dev{distance}+{vcs}{rev}.d{build_date:%Y%m%d}"
[tool.hatch.build.targets.sdist]
include
=
[
"src/**/*.py"
,
"tests/**/*.py"
,
"tests/**/*.cfg"
,
"doc/**/*.rst"
,
"doc/**/*.txt"
,
"doc/**/*.py"
,
"LICENSES/*.txt"
,
]
[tool.hatch.build.targets.wheel]
packages
=
[
"src/clapper"
]
[tool.ruff]
[tool.ruff]
line-length
=
80
line-length
=
80
target-version
=
"py310"
target-version
=
"py310"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment