Skip to content

Commit

Permalink
update setup files
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkure committed May 2, 2023
1 parent 95df4a3 commit 40375dc
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 78 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@



# hdf5/split-dataset file reader for napari
# split-dataset/hdf5 file reader for napari

A `napari` plugin for visualising [`SplitDataset`](https://github.com/portugueslab/split_dataset) objects. This package has been developed in the [Portugues lab](http://www.portugueslab.com).

4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

11 changes: 0 additions & 11 deletions requirements_dev.txt

This file was deleted.

62 changes: 52 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,60 @@
[metadata]
name = napari-split-dataset
version = 0.2.0
url = https://github.com/portugueslab/napari-split-dataset
author = You Wu @portugueslab
author_email = youkwu@neuro.mpg.de
classifiers =
Development Status :: 2 - Pre-Alpha
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
license = MIT
description = split-dataset/hdf5 file reader for napari
long_description = file: README.md
long_description_content_type = text/markdown

[options]
zip_safe = False
# setup_requires = pytest-runner
install_requires =
numpy
flammkuchen
split_dataset
python_requires = >=3.7
tests_require = pytest>=3
test_suite = tests
include_package_data = True
packages = find_namespace:

[options.extras_require]
dev =
pytest
pytest-cov
black
flake8
isort

[options.entry_points]
napari.manifest =
napari-split-dataset = napari_split_dataset:napari.yaml

[options.package_data]
napari_split_dataset = napari.yaml

[bumpversion]
current_version = 0.2.0
commit = True
tag = True

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:setup.cfg]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:napari_split_dataset/__init__.py]
search = __version__ = "{current_version}"
Expand All @@ -15,10 +64,3 @@ replace = __version__ = "{new_version}"
ignore = E203, W503
max-line-length = 88
exclude = __init__.py

[options.entry_points]
napari.manifest =
napari-split-dataset = napari_split_dataset:napari.yaml

[options.package_data]
napari_split_dataset = napari.yaml
54 changes: 2 additions & 52 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,55 +1,5 @@
#!/usr/bin/env python

"""The setup script."""
from setuptools import setup

from setuptools import find_namespace_packages, setup

with open("README.md") as readme_file:
readme = readme_file.read()

with open("requirements.txt") as f:
requirements = f.read().splitlines()

with open("requirements_dev.txt") as f:
requirements_dev = f.read().splitlines()

setup_requirements = [
"pytest-runner",
]

test_requirements = [
"pytest>=3",
]

setup(
author="You Wu @portugueslab",
author_email="youkwu@neuro.mpg.de",
python_requires=">=3.5",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
description="hdf5/split-dataset file reader for napari",
long_description=readme,
long_description_content_type="text/markdown",
extras_require=dict(dev=requirements_dev),
install_requires=requirements,
license="MIT",
include_package_data=True,
keywords="napari_split_dataset",
name="napari-split-dataset",
packages=find_namespace_packages(exclude=("docs", "tests*")),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/portugueslab/napari_split_dataset",
version="0.2.0",
zip_safe=False,
)
setup()

0 comments on commit 40375dc

Please sign in to comment.