Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SVLT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ALMF
SVLT
Commits
699dafb5
Commit
699dafb5
authored
8 months ago
by
Christopher Randolph Rhodes
Browse files
Options
Downloads
Patches
Plain Diff
Trying several things to read dependencies from pyproject.yaml
parent
38c11c24
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conda-recipe/meta.yaml
+25
-21
25 additions, 21 deletions
conda-recipe/meta.yaml
tests/_conf.py
+0
-4
0 additions, 4 deletions
tests/_conf.py
with
25 additions
and
25 deletions
conda-recipe/meta.yaml
+
25
−
21
View file @
699dafb5
{
%
set name = "model_server" %
}
{
%
set version = "2024.7.1" %
}
{
%
set pyproject = load_file_data('../pyproject.toml') %
}
{
%
set pyproject = load_file_data('pyproject.toml') %
}
{
%
set pp = pyproject.get('project') %
}
package
:
name
:
{{
name|lower
}}
version
:
{{
version
}}
name
:
{{
pp.get('name')
}}
version
:
{{
pp.get('
version
')
}}
source
:
-
path
:
../dist/{{ name }}-{{ version }}.tar.gz
...
...
@@ -23,23 +24,26 @@ requirements:
-
pip
run
:
-
python >=3.9
# - czifile
# - fastapi>=0.101.*
# - ilastik=1.4.*
# - imagecodecs
# - jupyterlab
# - matplotlib
# - numpy=1.*
# - pandas=1.*
# - pillow
# - pydantic=1.10.*
# - python=3.9.*
# - pytorch=1.*
# - scikit-image>=0.21.*
# - scikit-learn>=1.3.*
# - tifffile
# - uvicorn>=0.23.*
# - zstd=1.5.5
# { % for dep in pyproject["dependencies"] % }
# - {{ dep.lower() }}
# { % endfor % }
-
czifile
-
fastapi>=0.101.*
-
ilastik=1.4.*
-
imagecodecs
-
jupyterlab
-
matplotlib
-
numpy=1.*
-
pandas=1.*
-
pillow
-
pydantic=1.10.*
-
python=3.9.*
-
pytorch=1.*
-
scikit-image>=0.21.*
-
scikit-learn>=1.3.*
-
tifffile
-
uvicorn>=0.23.*
-
zstd=1.5.5
-
pip
...
...
@@ -47,7 +51,7 @@ test:
imports
:
-
model_server
commands
:
-
{{ PYTHON }}
-m unittest
model_ser
ver
-
python
-m unittest
disco
ver
requires
:
-
pip
source_files
:
...
...
This diff is collapsed.
Click to expand it.
tests/_conf.py
+
0
−
4
View file @
699dafb5
...
...
@@ -6,10 +6,6 @@ root = os.environ.get(
Path
.
home
()
/
'
model_server
'
/
'
testing
'
)
import
sys
print
(
sys
.
argv
)
filename
=
'
D3-selection-01.czi
'
czifile
=
{
'
filename
'
:
filename
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment