Skip to content

Commit

Permalink
updated to use a more modern build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkomarov committed Aug 27, 2024
1 parent d30c90f commit 18df5d8
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
with:
python-version: '3.x'
- run: |
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
pip install build wheel twine
python -m build
twine upload dist/*
28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[project]
name = "projection-pursuit"
dynamic = ["version"]
description = "Scikit-learn estimators based on projection pursuit"
readme = "README.md"
authors = [
{name = "Pavel Komarov", email = "[email protected]"}
]
dependencies = [
'pytest',
'numpy',
'scikit-learn',
'matplotlib'
]
license = {text = "BSD License"}

[tool.spin]
package = "skpp"

[tool.setuptools.dynamic]
version = {attr = "skpp.__version__"}

[project.urls]
Documentation = 'https://pavelkomarov.como/projection-pursuit'
Repository = 'https://github.com/pavelkomarov/projection-pursuit'

[build-system]
requires = ["setuptools"]
20 changes: 0 additions & 20 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion skpp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

from .skpp import ProjectionPursuitRegressor, ProjectionPursuitClassifier

__version__ = 1.0
__version__ = 1.1

0 comments on commit 18df5d8

Please sign in to comment.