Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Commits
caba2c33
Commit
caba2c33
authored
2 years ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
use hatch instead of setuptools
parent
a16a6c6e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!248
License update
,
!247
use hatch instead of setuptools
Pipeline
#143382
passed with stages
in 6 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MANIFEST.in
+0
-6
0 additions, 6 deletions
MANIFEST.in
pyproject.toml
+22
-10
22 additions, 10 deletions
pyproject.toml
with
22 additions
and
16 deletions
MANIFEST.in
deleted
100644 → 0
+
0
−
6
View file @
a16a6c6e
prune *
graft src
graft tests
include LICENSE README.md pyproject.toml
global-exclude __pycache__ *.py[cod] .*
This diff is collapsed.
Click to expand it.
pyproject.toml
+
22
−
10
View file @
caba2c33
[build-system]
requires
=
[
"
setuptools>
=
64
",
"
setuptools_scm[toml]>
=
6.4
",
"
hatchling>
=
1.8
.
0
",
"
hatch-vcs
"
,
]
build-backend
=
"
setuptools
.build
_meta
"
build-backend
=
"
hatchling
.build"
[project]
requires-python
=
">
=
3.8
"
...
...
@@ -11,7 +11,7 @@ name = "finam"
description
=
"FINAM is not a model."
authors
=
[{name
=
"FINAM Developers"
,
email
=
"finam@ufz.de"
}]
readme
=
"README.md"
license
=
{
text
=
"LGPLv3"
}
license
=
"LGPL-3.0"
dynamic
=
[
"version"
]
classifiers
=
[
"Development Status :: 4 - Beta"
,
...
...
@@ -67,14 +67,26 @@ test = [
"pytest-benchmark[histogram]>
=
4.0
",
]
[tool.setuptools]
license-files
=
[
"LICENSE"
]
[tool.hatch.version]
source
=
"vcs"
fallback_version
=
"0.0.0.dev0"
[tool.setuptools_scm]
write_to
=
"src/finam/_version.py"
write_to_template
=
"__version__
=
'{version}'"
[tool.hatch.version.raw-options]
local_scheme
=
"no-local-version"
fallback_version
=
"0.0.0.dev0"
[tool.hatch.build.hooks.vcs]
version-file
=
"src/finam/_version.py"
template
=
"__version__
=
'{version}'"
[tool.hatch.build.targets.sdist]
include
=
[
"/src"
,
"/tests"
,
"CHANGELOG.md"
,
]
[tool.hatch.build.targets.wheel]
packages
=
[
"src/finam"
]
[tool.black]
exclude
=
"_version.py"
...
...
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