Skip to content

Commit 4dc921d

Browse files
committed
Convert to use uv
1 parent 77e8ae3 commit 4dc921d

File tree

101 files changed

+5603
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+5603
-58
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.9

neuron_morphology/__init__.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

pyproject.toml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[project]
2+
name = "neuron-morphology"
3+
version = "1.2.2"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
authors = [
7+
{ name = "Nathan Gouwens", email = "nathang@alleninstitute.org" }
8+
]
9+
requires-python = ">=3.9"
10+
dependencies = [
11+
"argschema>=3.0.4",
12+
"boto3>=1.12.42",
13+
"cloud-files>=6.1.1",
14+
"glymur>=0.14.0.post1",
15+
"imageio>=2.37.2",
16+
"matplotlib>=3.9.4",
17+
"numpy>=1.14.2",
18+
"pandas>=2.3.3",
19+
"pg8000>=1.31.5",
20+
"pillow>=11.3.0",
21+
"rasterio>=1.4.3",
22+
"scikit-image>0.17",
23+
"scipy>=1.0.0",
24+
"shapely>=2.0.7",
25+
"simplejson>=3.20.2",
26+
"six>=1.17.0",
27+
"tables>=3.8",
28+
]
29+
30+
[build-system]
31+
requires = ["uv_build>=0.9.26,<0.10.0"]
32+
build-backend = "uv_build"

requirements.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ pandas
44
numpy>=1.14.2
55
scipy>=1.0.0
66
six
7-
allensdk
87
argschema
9-
glymur<1.0.0 # If you want to actually use glymur, you must also have openjpeg installed. The easiest way is "conda install openjpeg"
10-
shapely<2.0.0
11-
imageio<3.0.0
12-
pg8000<2.0.0 # required for running from the Allen Institute's internal database
8+
glymur
9+
shapely
10+
imageio
11+
pg8000 # required for running from the Allen Institute's internal database
1312
boto3>=1.12.42
1413
cloud-files
1514
scikit-image>0.17
1615
tables>=3.8
16+
simplejson
17+
rasterio
18+

src/neuron_morphology/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# -*- coding: utf-8 -*-
2+
3+
"""Top-level package for neuron_morphology."""
4+
5+
import os
6+
from logging.config import fileConfig
7+
from importlib.metadata import version, PackageNotFoundError
8+
9+
try:
10+
__version__ = version("neuron_morphology")
11+
except PackageNotFoundError:
12+
# package is not installed
13+
__version__ = "uninstalled"
14+
15+
fileConfig(os.path.join(
16+
os.path.dirname(__file__),
17+
'logging_config.ini')
18+
)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)