Skip to content

Commit

Permalink
added pyproject.toml and updated requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
klemengit committed Feb 29, 2024
1 parent 33c9a31 commit 28f600f
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ ENV/
# Rope project settings
.ropeproject

# other
server_user_id.txt
45 changes: 45 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "pyMRAW"
version = "0.31"
authors = [{name = "Jaka Javh, Janko Slavič, Domen Gorjup", email = "[email protected]"}]
maintainers = [{name = "Janko Slavič et al.", email = "[email protected]"}]
license = "MIT"
description = "Module for reading and writing Photron MRAW image sequences."
readme = "readme.rst"
keywords = ["read/write", "Photron", "mraw", "cihx", "cih"]
requires-python = ">=3.10"
dependencies = [
"colorama>=0.3.7",
"nose>=1.3.7",
"numpy>=1.12.0",
"py>=1.4.32",
"xmltodict>=0.12.0",
"numba>=0.56.4",
]
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",
"build",
"pytest",
"sphinx-rtd-theme",
"sphinx-copybutton>=0.5.2",
]

[project.urls]
homepage = "https://github.com/ladisk/pyMRAW"
documentation = "https://github.com/ladisk/pyMRAW"
source = "https://github.com/ladisk/pyMRAW"
8 changes: 8 additions & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-r requirements.txt
sphinx
twine
wheel
build
pytest
sphinx-rtd-theme
sphinx-copybutton>=0.5.2
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ numpy>=1.12.0
py>=1.4.32
pytest>=3.0.5
xmltodict>=0.12.0
numba>=0.56.4
numba>=0.56.4
build
twine

0 comments on commit 28f600f

Please sign in to comment.