summaryrefslogtreecommitdiff
path: root/python-liquidhandling.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-liquidhandling.spec')
-rw-r--r--python-liquidhandling.spec221
1 files changed, 221 insertions, 0 deletions
diff --git a/python-liquidhandling.spec b/python-liquidhandling.spec
new file mode 100644
index 0000000..3ab21ec
--- /dev/null
+++ b/python-liquidhandling.spec
@@ -0,0 +1,221 @@
+%global _empty_manifest_terminate_build 0
+Name: python-liquidhandling
+Version: 0.1.40
+Release: 1
+Summary: A python library developed to allow programmatic control of the Hudson Robotics systems installed in Argonne National Laboratory's Secure BIO Lab.
+License: MIT
+URL: http://github.com/luckierdodge/liquidhandling
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/db/65/0fac3865ed73f8be7730019476498c83dc19b44eb58bd7203184f5a7d8dd/liquidhandling-0.1.40.tar.gz
+BuildArch: noarch
+
+Requires: python3-jsonref
+Requires: python3-jsonschema
+Requires: python3-pytest
+Requires: python3-path
+Requires: python3-pandas
+Requires: python3-openpyxl
+Requires: python3-mysql-connector-python
+Requires: python3-zmq
+
+%description
+# liquidhandling
+
+This repository contains the source code for a python library developed to allow programmatic control of the Hudson Robotics systems installed in Argonne National Laboratory's Secure BIO Lab.
+
+This library is currently in **active development**. As such, there are no guarantess of API stability, feature completeness, or test coverage. Any code generated by this library should be considered untested, and when run on the physical lab automation systems should be carefully monitored.
+
+## Installation
+
+Pip:
+
+`pip install liquidhandling`
+
+Conda:
+
+`conda install -c conda-forge -c luckierdodge liquidhandling`
+
+(For development install, see below)
+
+## Documentation
+
+Documentation for the interfaces contained in this library can be found in the `docs` directory. In addition, example code is available under `example`.
+
+## Development
+
+### Installing For Development/Testing
+
+1. Install [Python 3.8.5+](https://www.python.org/downloads/), making sure to include pip in the install
+1. Git clone this repository:
+ 1. `git clone https://github.com/AD-SDL/hudson-liquidhandling.git`
+1. Run `pip install -r requirements.txt` in the repository root
+1. Run `pip install -e .` in the repository root
+
+### Tests
+
+* Run all: `python -m pytest ./test` in the repo's root directory (or with the last argument adjusted to point to the `test` directory)
+
+### Formatting the Code
+
+To automatically format the code for style and readability, run `black .` in the repo's root directory. This keeps all python code stylistically consistent.
+
+### Recommended Visual Studio Code Extensions
+
+* Better Comments by Aaron Bond
+* GitLens by Eric Amodio
+* Pylance by Microsoft
+* Python by Microsoft
+* Visual Studio IntelliCode by Microsoft
+
+
+%package -n python3-liquidhandling
+Summary: A python library developed to allow programmatic control of the Hudson Robotics systems installed in Argonne National Laboratory's Secure BIO Lab.
+Provides: python-liquidhandling
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-liquidhandling
+# liquidhandling
+
+This repository contains the source code for a python library developed to allow programmatic control of the Hudson Robotics systems installed in Argonne National Laboratory's Secure BIO Lab.
+
+This library is currently in **active development**. As such, there are no guarantess of API stability, feature completeness, or test coverage. Any code generated by this library should be considered untested, and when run on the physical lab automation systems should be carefully monitored.
+
+## Installation
+
+Pip:
+
+`pip install liquidhandling`
+
+Conda:
+
+`conda install -c conda-forge -c luckierdodge liquidhandling`
+
+(For development install, see below)
+
+## Documentation
+
+Documentation for the interfaces contained in this library can be found in the `docs` directory. In addition, example code is available under `example`.
+
+## Development
+
+### Installing For Development/Testing
+
+1. Install [Python 3.8.5+](https://www.python.org/downloads/), making sure to include pip in the install
+1. Git clone this repository:
+ 1. `git clone https://github.com/AD-SDL/hudson-liquidhandling.git`
+1. Run `pip install -r requirements.txt` in the repository root
+1. Run `pip install -e .` in the repository root
+
+### Tests
+
+* Run all: `python -m pytest ./test` in the repo's root directory (or with the last argument adjusted to point to the `test` directory)
+
+### Formatting the Code
+
+To automatically format the code for style and readability, run `black .` in the repo's root directory. This keeps all python code stylistically consistent.
+
+### Recommended Visual Studio Code Extensions
+
+* Better Comments by Aaron Bond
+* GitLens by Eric Amodio
+* Pylance by Microsoft
+* Python by Microsoft
+* Visual Studio IntelliCode by Microsoft
+
+
+%package help
+Summary: Development documents and examples for liquidhandling
+Provides: python3-liquidhandling-doc
+%description help
+# liquidhandling
+
+This repository contains the source code for a python library developed to allow programmatic control of the Hudson Robotics systems installed in Argonne National Laboratory's Secure BIO Lab.
+
+This library is currently in **active development**. As such, there are no guarantess of API stability, feature completeness, or test coverage. Any code generated by this library should be considered untested, and when run on the physical lab automation systems should be carefully monitored.
+
+## Installation
+
+Pip:
+
+`pip install liquidhandling`
+
+Conda:
+
+`conda install -c conda-forge -c luckierdodge liquidhandling`
+
+(For development install, see below)
+
+## Documentation
+
+Documentation for the interfaces contained in this library can be found in the `docs` directory. In addition, example code is available under `example`.
+
+## Development
+
+### Installing For Development/Testing
+
+1. Install [Python 3.8.5+](https://www.python.org/downloads/), making sure to include pip in the install
+1. Git clone this repository:
+ 1. `git clone https://github.com/AD-SDL/hudson-liquidhandling.git`
+1. Run `pip install -r requirements.txt` in the repository root
+1. Run `pip install -e .` in the repository root
+
+### Tests
+
+* Run all: `python -m pytest ./test` in the repo's root directory (or with the last argument adjusted to point to the `test` directory)
+
+### Formatting the Code
+
+To automatically format the code for style and readability, run `black .` in the repo's root directory. This keeps all python code stylistically consistent.
+
+### Recommended Visual Studio Code Extensions
+
+* Better Comments by Aaron Bond
+* GitLens by Eric Amodio
+* Pylance by Microsoft
+* Python by Microsoft
+* Visual Studio IntelliCode by Microsoft
+
+
+%prep
+%autosetup -n liquidhandling-0.1.40
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-liquidhandling -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.40-1
+- Package Spec generated