Skip to content

Commit

Permalink
update the installation process
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengp0 committed Jul 24, 2023
1 parent da1650c commit 5b576c9
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
python-version: "3.10"
- name: Install dependencies
run: python -m pip install .[dev] --upgrade pip
run: python -m pip install .[test] --upgrade pip
- name: Test with pytest
run: pytest
- name: Build package distribution
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 2-Clause License

Copyright (c) 2020, Peng Zheng
Copyright (c) 2023, IHME Math Sciences
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "xspline"
version = "1.0.0"
description = "Advanced spline package that provides b-spline bases, their derivatives and integrals"
readme = "REDME.rst"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "IHME Math Sciences", email = "ihme.math.sciences@gmail.com" },
]
dependencies = ["numpy"]

[project.optional-dependencies]
test = ["pytest"]
docs = ["sphinx", "sphinx-autodoc-typehints", "furo"]

[project.urls]
github = "https://github.com/zhengp0/xspline"

[tool.sphinx]
project = "xspline"
author = "IHME Math Sciences"
copyright = "2023, IHME Math Sciences"
version = "1.0.0"
48 changes: 0 additions & 48 deletions setup.py

This file was deleted.

16 changes: 0 additions & 16 deletions src/xspline/__about__.py

This file was deleted.

0 comments on commit 5b576c9

Please sign in to comment.