Skip to content

Commit

Permalink
setup initial bashi python package
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Jan 23, 2024
1 parent 9918864 commit a53a5cd
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
####################
# caches
####################
__pycache__

####################
# build artefacts
####################
dist/
bashi.egg-info

####################
# IDE files
####################
.vscode
Empty file added bashi/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions bashi/generator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def foo():
print("Hello bashi.")
9 changes: 9 additions & 0 deletions bashi/validate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from bashi.generator import foo


def main():
foo()


if __name__ == "__main__":
main()
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "bashi"
maintainers = [
{name = "Simeon Ehrig", email = "[email protected]"},
]
authors = [
{name = "Simeon Ehrig", email = "[email protected]"},
{name = "Jan Stephan", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
description = "The library provides everything needed to generate a sparse combination matrix for alpaka-based projects, including a set of general-purpose combination rules."
dynamic = ["version"]
keywords = ["alpaka", "testing", "pair-wise generator"]
classifiers= [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
]
dependencies = [
"allpairspy == 2.5.1",
"typeguard"
]

[project.scripts]
bashi-validate = "bashi.validate:main"

[tool.setuptools.dynamic]
version = {file = "version.txt"}

[project.urls]
Homepage = "https://github.com/alpaka-group/bashi"
Repository = "https://github.com/alpaka-group/bashi"
Issues = "https://github.com/alpaka-group/bashi/issues"
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.0

0 comments on commit a53a5cd

Please sign in to comment.