feat: added dev install to setup.py

This commit is contained in:
2023-06-28 13:02:02 +02:00
parent 020459ed90
commit 412a0e4480
2 changed files with 17 additions and 9 deletions

View File

@ -1,22 +1,24 @@
[metadata]
name = ophyd_devices
version = 0.0.1
description = Custom device implementations based on the ophyd hardware abstraction layer
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
url = https://gitlab.psi.ch/bec/ophyd_devices
project_urls =
Bug Tracker = https://github.com/pypa/sampleproject/issues
Bug Tracker = https://gitlab.psi.ch/bec/ophyd_devices/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Development Status :: 3 - Alpha
Topic :: Scientific/Engineering
[options]
package_dir =
= ./
= .
packages = find:
python_requires = >=3.7
python_requires = >=3.8
[options.packages.find]
where = ./
where = .
[semantic_release]
version_variable = setup.py:__version__

View File

@ -1,4 +1,10 @@
from setuptools import setup
__version__ = "0.0.1"
if __name__ == "__main__":
setup(install_requires=["ophyd", "typeguard", "prettytable", "pytest"])
setup(
install_requires=["ophyd", "typeguard", "prettytable", "bec_lib"],
extras_require={"dev": ["pytest", "pytest-random-order"]},
version=__version__,
)