Skip to content

Commit ba0e84d

Browse files
authored
Merge pull request #1 from DavidStirling/master
Update bioformats dependencies
2 parents e5f75fd + 0a45da7 commit ba0e84d

File tree

5 files changed

+41
-38
lines changed

5 files changed

+41
-38
lines changed

.github/workflows/build.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
tags:
7+
- '*'
8+
pull_request:
9+
branches: [ master ]
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
17+
with:
18+
architecture: x64
19+
python-version: 3.8
20+
- name: Install dependencies
21+
run: |
22+
pip install --upgrade pip setuptools build numpy
23+
pip install .[test]
24+
- name: Run tests
25+
run: pytest
26+
- name: Build wheel
27+
run: python -m build --wheel
28+
- name: Upload Artifact
29+
uses: actions/upload-artifact@v4
30+
with:
31+
path: dist/*.whl
32+
- name: Release
33+
uses: softprops/action-gh-release@v2
34+
if: startsWith(github.ref, 'refs/tags/')
35+
with:
36+
files: dist/*.whl
37+

.travis.yml

-25
This file was deleted.

bioformats/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
_jars_dir = os.path.join(os.path.dirname(__file__), 'jars')
2626

27-
JAR_VERSION = '6.5.1'
27+
JAR_VERSION = '7.3.1'
2828

2929
JARS = javabridge.JARS + [os.path.realpath(os.path.join(_jars_dir, name + '.jar'))
3030
for name in ['bioformats_package']]

setup.cfg

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
[nosetests]
22
with-javabridge = True
3-
classpath = bioformats/jars/loci_tools.jar
4-
5-
[build_sphinx]
6-
source-dir = docs/
7-
build-dir = docs/_build
8-
all_files = 1
9-
10-
[upload_sphinx]
11-
upload-dir = docs/_build/html
3+
classpath = bioformats/jars/bioformats_package.jar

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
classifiers=[
77
"Development Status :: 5 - Production/Stable",
88
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
9-
"Programming Language :: Python :: 2",
109
"Programming Language :: Python :: 3",
1110
"Programming Language :: Java",
1211
"Topic :: Scientific/Engineering :: Bio-Informatics",
@@ -15,7 +14,7 @@
1514
description="Read and write life sciences file formats",
1615
extras_require={
1716
"test": [
18-
"pytest>=3.3.2,<4"
17+
"pytest>=6.1"
1918
]
2019
},
2120
install_requires=[
@@ -42,5 +41,5 @@
4241
"bioformats"
4342
],
4443
url="http://github.com/CellProfiler/python-bioformats/",
45-
version="4.1.0"
44+
version="4.1.10001"
4645
)

0 commit comments

Comments
 (0)