Skip to content

Commit

Permalink
move requirements into .toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Wegmann committed Nov 7, 2023
1 parent 352cabd commit 347bf8a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.egg-info
.pytest_cache
secop_ophyd/asyncclient.log
build
Empty file.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ venv: .venv/touchfile

.venv/touchfile: requirements.txt
python3 -m venv .venv
. .venv/bin/activate; pip install --upgrade pip; pip install -Ur requirements.txt; pip install -Ue .
. .venv/bin/activate; pip install --upgrade pip git ;pip install .[dev]
touch .venv/touchfile


Expand Down
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,28 @@ build-backend = "setuptools.build_meta"
name = "secop-ophyd"
version = "0.0.1"
description = "An Interface between bluesky and SECoP, using ophyd and frappy-client"

dependencies = [
'ophyd-async@git+https://github.com/bluesky/ophyd-async.git@d6c72cfcd3d0af9ad1694cc8826c96058ea92f16',

]

[project.optional-dependencies]
dev = [
'pytest == 7.4.2',
'wheel',
'cycler',
'frappy-core@git+https://github.com/SampleEnvironment/frappy',
'mlzlog == 0.3.5',
'matplotlib',
'pytest-asyncio',
'pytest-xprocess',
'ipykernel',
'databroker',
'ophyd',
]


[tool.setuptools.packages.find]
exclude = ["frappy*"]

Expand Down
12 changes: 0 additions & 12 deletions requirements.txt

This file was deleted.

0 comments on commit 347bf8a

Please sign in to comment.