Skip to content

Commit

Permalink
Merge pull request #11 from klemengit/main
Browse files Browse the repository at this point in the history
added pyproject.toml file
  • Loading branch information
jankoslavic authored Nov 15, 2023
2 parents 5e2ee47 + c96d253 commit a89608f
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-and-publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
python-version: '3.11'

- name: Install dependencies
run: pip install setuptools wheel twine
run: pip install setuptools wheel twine build

- name: Build package
run: python setup.py sdist bdist_wheel
run: python -m build

- name: Publish to PyPI
uses: pypa/[email protected]
Expand Down
50 changes: 50 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "pyFRF"
version = "1.1"
authors = [{name = "Janko Slavič, Luka Novak, Martin Česnik, et al.", email = "[email protected]"}]
maintainers = [{name = "Janko Slavič, Luka Novak, Martin Česnik, et al.", email = "[email protected]"}]
license = "MIT"
description = "Frequency response function as used in structural dynamics."
readme = "readme.rst"
keywords = ["FRF", "MIMO", "SIMO", "ODS"]
requires-python = ">=3.10"

dependencies = [
"colorama",
"py",
"lvm_read",
"pyExSi",
"matplotlib",
"numpy>=1.11.0",
"scipy>=1.2.0",
]

classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 3.10',
"License :: OSI Approved :: MIT License",
]

[project.optional-dependencies]
dev = [
"sphinx",
"twine",
"wheel",
"pytest",
"sphinx-rtd-theme",
"nbsphinx",
"nbsphinx_link",
"jupyter",
"sphinx-book-theme",
]

[project.urls]
homepage = "https://github.com/ladisk/pyFRF"
documentation = "https://pyfrf.readthedocs.io/en/latest/"
source = "https://github.com/ladisk/pyFRF"

0 comments on commit a89608f

Please sign in to comment.