Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ repos:
# - id: reorder-python-imports
# args:
# - --py37-plus
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.8.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
Expand Down
72 changes: 67 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,77 @@
# ======================================================================================
# Project metadata
# ======================================================================================
[project]
name = "upper_envelope"
description = "Upper envelope scan for dynamic discrete-continuous life cycle models."
requires-python = ">=3.10"
authors = [
{ name="Max Blesch", email="[email protected]" },
{ name="Sebastian Gsell", email="[email protected]" },
]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Build Tools",
]
keywords = [] # if you have any
dependencies = [] # list runtime deps here, e.g. ["numpy>=1.25"]
dynamic = ["version"]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.license]
text = "MIT"

[project.urls]
"Github" = "https://github.com/OpensourceEconomics/upper-envelope"

[project.scripts]
upper_envelope = "upper_envelope.cli:cli"

[tool.setuptools.packages.find]
where = ["src"]


# ======================================================================================
# Build system configuration
# ======================================================================================

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
requires = [
"setuptools>=61.0.0", # setuptools PEP-621 support
"wheel",
"setuptools_scm[toml]>=6.0"
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "src/upper_envelope/_version.py"


# ======================================================================================
# Ruff configuration
# ======================================================================================

[tool.ruff]
target-version = "py310"
fix = true
ignore = ["F401"]
fix = true
ignore = ["F401"]


# ======================================================================================
# Misc configuration
# ======================================================================================

[tool.yamlfix]
line_length = 88
sequence_style = "block_style"
line_length = 88
sequence_style = "block_style"
none_representation = "null"
41 changes: 0 additions & 41 deletions setup.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions setup.py

This file was deleted.

Loading