Skip to content

Commit

Permalink
Add barebones package setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilderbuchi committed Jan 30, 2023
1 parent 63e1ff4 commit da0038c
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 2 deletions.
3 changes: 3 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Benedikt Moneke
Benjamin Klebel-Knobloch
Christoph Buchner
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 PyMeasure
Copyright (c) 2023 PyMeasure Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pyleco
Python implementation of the Laboratory Experiment COntrol (LECO) protocol
Python reference implementation of the Laboratory Experiment COntrol (LECO) protocol (https://github.com/pymeasure/leco-protocol).
13 changes: 13 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: pyleco
channels:
- conda-forge
dependencies:
- pyzmq=25.0.0
# Development dependencies below
- pytest=7.2.0
- setuptools_scm # don't pin, to get newest features
- sphinx=6.1.3
- sphinx_rtd_theme=1.0.0
# - pip # don't pin, to gain newest conda compatibility fixes
# - pip:
# - xxx
Empty file added pyleco/__init__.py
Empty file.
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[project]
name = "pyleco"
version = "0.0.1dev"
authors = [
{ name="PyMeasure Developers" },
]
description = "Python reference implementation of the Laboratory Experiment COntrol (LECO) protocol"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 1 - Planning",
]

requires-python = ">=3.10"
dependencies = [
"pyzmq",
]

[project.optional-dependencies]
dev = [
'pytest',
'sphinx',
'sphinx_rtd_theme',
]

[project.urls]
"Homepage" = "https://github.com/pymeasure/pyleco"
"Bug Tracker" = "https://github.com/pymeasure/pyleco/issues"

[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=7.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
# write_to = "pyleco/_version.py"
4 changes: 4 additions & 0 deletions tests/test_import.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""Barebones test, to be deleted later."""

def test_import():
import pyleco

0 comments on commit da0038c

Please sign in to comment.