Skip to content

Commit 818b104

Browse files
initial commit
1 parent 68fd036 commit 818b104

4 files changed

Lines changed: 85 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish to PyPI
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
7+
jobs:
8+
build-n-publish:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write # This is the "key" for Trusted Publishing
12+
contents: read
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.x"
19+
- name: Build package
20+
run: |
21+
pip install build
22+
python -m build
23+
- name: Publish to PyPI
24+
uses: pypa/gh-action-pypi-publish@release/v1

amstools/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
amstools will be here

amstools/__init__.py

Whitespace-only changes.

pyproject.toml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[build-system]
2+
requires = ["setuptools>=61", "wheel", "versioneer"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "amstools"
7+
dynamic = ["version"]
8+
readme = "README.md"
9+
description = "Atomistic Modelling and Simulation tools for material properties by AMS department of ICAMS, Ruhr Univerisity Bochum"
10+
authors = [
11+
{name = "Yury Lysogorskiy", email = "yury.lysogorskiy@rub.de"},
12+
]
13+
license = {file = "LICENSE"}
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Topic :: Scientific/Engineering :: Physics",
17+
"Intended Audience :: Science/Research",
18+
"Operating System :: OS Independent",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
]
24+
keywords = ["material", "properties"]
25+
dependencies = [
26+
"ase",
27+
"numpy",
28+
"phonopy",
29+
"ruamel.yaml",
30+
"pandas",
31+
"scipy",
32+
"spglib",
33+
"tqdm",
34+
"matscipy",
35+
"scikit-image",
36+
]
37+
38+
[project.urls]
39+
Homepage = "https://github.com/ICAMS/amstools"
40+
41+
[project.scripts]
42+
ams_pipeline = "amstools.cli.ams_pipeline:main"
43+
ams_collect = "amstools.cli.ams_collect:main"
44+
ams_calculation = "amstools.cli.ams_calculation:main"
45+
ams_dft_manager = "amstools.cli.ams_dft_manager:main"
46+
ams_highthroughput = "amstools.cli.ams_highthroughput:main"
47+
ams_custodian_vasp = "amstools.cli.ams_custodian_vasp:main"
48+
ams_webinterface = "amstools.cli.ams_webinterface:main"
49+
50+
[tool.versioneer]
51+
VCS = "git"
52+
style = "pep440-pre"
53+
versionfile_source = "amstools/_version.py"
54+
tag_prefix = "amstools-"
55+
parentdir_prefix = "amstools"
56+
57+
58+
[tool.setuptools.packages.find]
59+
include = ["amstools*"]
60+
exclude = ["*test*"]

0 commit comments

Comments
 (0)