Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Deploy to main server

on:
workflow_dispatch:
release:
types:
- published

jobs:

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[build-system]
requires = ["setuptools >= 42", "wheel"]
requires = ["setuptools >= 61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.poetry]
name = "PASCal"
version = "2.0.0"
version = "1.0.1"
description = "Principal Axis Strain Calculator (PASCal) is a web tool designed to help scientists analyse non-ambient lattice parameter data."
readme = "README.md"
keywords = ["materials", "chemistry", "fitting", "strain", "lattice"]
license = "MIT"
authors = [ "Matthew Cliffe <matthew.cliffe@nottingham.ac.uk>", ]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.8",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
]
Expand Down
5 changes: 5 additions & 0 deletions src/PASCal/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import importlib.metadata

__version__ = importlib.metadata.version("PASCal")

__all__ = ("__version__",)