-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
206 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
# Changes here will be overwritten by Copier | ||
_commit: 2.1.0-40-g9e70b8b | ||
_commit: 2.3.0 | ||
_src_path: gh:DiamondLightSource/python-copier-template | ||
author_email: [email protected] | ||
author_name: Gary Yendell | ||
component_lifecycle: experimental | ||
component_owner: user:mef65357 | ||
component_type: service | ||
description: Eiger control system integration with FastCS | ||
distribution_name: eiger-fastcs | ||
distribution_name: fastcs-eiger | ||
docker: true | ||
docs_type: sphinx | ||
git_platform: github.com | ||
github_org: DiamondLightSource | ||
package_name: eiger_fastcs | ||
package_name: fastcs_eiger | ||
pypi: true | ||
repo_name: eiger-fastcs | ||
repo_name: fastcs-eiger | ||
type_checker: mypy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ cov.xml | |
|
||
# Sphinx documentation | ||
docs/_build/ | ||
docs/_api | ||
|
||
# PyBuilder | ||
target/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Component | ||
metadata: | ||
name: eiger-fastcs | ||
title: eiger-fastcs | ||
name: fastcs-eiger | ||
title: fastcs-eiger | ||
description: Eiger control system integration with FastCS | ||
spec: | ||
type: documentation | ||
type: service | ||
lifecycle: experimental | ||
owner: user:mef65357 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
:orphan: | ||
|
||
.. | ||
This page is not included in the TOC tree, but must exist so that the | ||
autosummary pages are generated for fastcs_eiger and all its | ||
subpackages | ||
API | ||
=== | ||
|
||
.. autosummary:: | ||
:toctree: _api | ||
:template: custom-module-template.rst | ||
:recursive: | ||
|
||
fastcs_eiger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{{ ('``' + fullname + '``') | underline }} | ||
|
||
{%- set filtered_members = [] %} | ||
{%- for item in members %} | ||
{%- if item in functions + classes + exceptions + attributes %} | ||
{% set _ = filtered_members.append(item) %} | ||
{%- endif %} | ||
{%- endfor %} | ||
|
||
.. automodule:: {{ fullname }} | ||
:members: | ||
|
||
{% block modules %} | ||
{% if modules %} | ||
.. rubric:: Submodules | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: custom-module-template.rst | ||
:recursive: | ||
{% for item in modules %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block members %} | ||
{% if filtered_members %} | ||
.. rubric:: Members | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
{% for item in filtered_members %} | ||
{{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# Run in a container | ||
|
||
Pre-built containers with eiger-fastcs and its dependencies already | ||
installed are available on [Github Container Registry](https://ghcr.io/DiamondLightSource/eiger-fastcs). | ||
Pre-built containers with fastcs-eiger and its dependencies already | ||
installed are available on [Github Container Registry](https://ghcr.io/DiamondLightSource/fastcs-eiger). | ||
|
||
## Starting the container | ||
|
||
To pull the container from github container registry and run: | ||
|
||
``` | ||
$ docker run ghcr.io/diamondlightsource/eiger-fastcs:latest --version | ||
$ docker run ghcr.io/diamondlightsource/fastcs-eiger:latest --version | ||
``` | ||
|
||
To get a released version, use a numbered release instead of `latest`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ requires = ["setuptools>=64", "setuptools_scm[toml]>=8"] | |
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "eiger-fastcs" | ||
name = "fastcs-eiger" | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: Apache Software License", | ||
|
@@ -45,17 +45,18 @@ dev = [ | |
] | ||
|
||
[project.scripts] | ||
eiger-fastcs = "eiger_fastcs.__main__:app" | ||
fastcs-eiger = "fastcs_eiger.__main__:main" | ||
|
||
[project.urls] | ||
GitHub = "https://github.com/DiamondLightSource/eiger-fastcs" | ||
GitHub = "https://github.com/DiamondLightSource/fastcs-eiger" | ||
|
||
[[project.authors]] # Further authors may be added by duplicating this section | ||
email = "[email protected]" | ||
name = "Gary Yendell" | ||
|
||
|
||
[tool.setuptools_scm] | ||
version_file = "src/eiger_fastcs/_version.py" | ||
version_file = "src/fastcs_eiger/_version.py" | ||
|
||
[tool.mypy] | ||
ignore_missing_imports = true # Ignore missing stubs in imported modules | ||
|
@@ -71,7 +72,7 @@ filterwarnings = "error" | |
testpaths = "docs src tests" | ||
|
||
[tool.coverage.run] | ||
data_file = "/tmp/eiger_fastcs.coverage" | ||
data_file = "/tmp/fastcs_eiger.coverage" | ||
|
||
[tool.coverage.paths] | ||
# Tests are run from installed location, map back to the src directory | ||
|
@@ -97,7 +98,7 @@ allowlist_externals = | |
commands = | ||
pre-commit: pre-commit run --all-files --show-diff-on-failure {posargs} | ||
type-checking: mypy src tests {posargs} | ||
tests: pytest --cov=eiger_fastcs --cov-report term --cov-report xml:cov.xml {posargs} | ||
tests: pytest --cov=fastcs_eiger --cov-report term --cov-report xml:cov.xml {posargs} | ||
docs: sphinx-{posargs:build -EW --keep-going} -T docs build/html | ||
""" | ||
|
||
|
Oops, something went wrong.