Skip to content

Commit

Permalink
update packaging and version tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
pluflou committed Oct 28, 2024
1 parent 6c79095 commit 30dca31
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,5 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
src/spcqe/_version.py

24 changes: 21 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools>=64", "wheel"] # PEP 508 specifications.
requires = ["setuptools>=64", "wheel", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"

[project]
name = "spcqe"
version = "0.0.1a"
authors = [
{name = "Mehmet Giray Ogut", email = "[email protected]"},
{name = "Aramis Dufour", email = "[email protected]"},
{name = "Bennet Meyers", email = "[email protected]"}
]
description = "Smooth periodic consistent quantile estimation"
Expand All @@ -21,3 +20,22 @@ dependencies = [
"tqdm",
"sig-decomp"
]
dynamic = ["version"]
[tool.setuptools_scm]
version_file = "src/spcqe/_version.py"

[project.urls]
Homepage = "https://github.com/cvxgrp/spcqe"
"Bug Tracker" = "https://github.com/cvxgrp/spcqe/issues"

[project.license]
file = "LICENSE"

[options]
zip_safe = false
include_package_data = true

[tool.setuptools.packages.find]
where = ["src"]
include = [ "spcqe", ]
namespaces = false
7 changes: 6 additions & 1 deletion src/spcqe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
from spcqe.functions import make_basis_matrix, make_regularization_matrix, pinball_slopes
from spcqe.quantiles import SmoothPeriodicQuantiles
from spcqe.solvers import solve_cvx, solve_osd
from spcqe.solvers import solve_cvx, solve_osd

try:
from ._version import __version__
except ImportError:
__version__ = "0.0.0"

0 comments on commit 30dca31

Please sign in to comment.