Skip to content

Commit

Permalink
increment version to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWillig committed Mar 8, 2021
1 parent b1a4ef9 commit 8fe6bfd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
28 changes: 5 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,16 @@
import setuptools


def readme():
with open('README.md', 'r') as f:
return f.read()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()


setuptools.setup(
name='pysnic',
version='1.0.3',
version='1.0.4',
description='SNIC superpixels algorithm',
long_description='''
Python-only implementation of the SNIC superpixels algorithm (https://www.epfl.ch/labs/ivrl/research/snic-superpixels/).
Typical usage example:
::
from pysnic.algorithms.snic import snic
from pysnic.algorithms.polygonize import polygonize
from pysnic.algorithms.ramerDouglasPeucker import RamerDouglasPeucker
segmentation, distance_map, number_of_segments = snic(
lab_image, 500, 0.01,
update_func=lambda num_pixels: print("processed %05.2f%%" % (num_pixels * 100 / number_of_pixels)))
rdp = RamerDouglasPeucker(10)
graphs = polygonize(segmentation, seeds, rdp)
This project is maintained under: https://github.com/MoritzWillig/pysnic
''',
long_description=long_description,
long_description_content_type="text/markdown",
keywords=["image processing", "computer vision", "image segmentation", "superpixels", "SNIC"],
classifiers=[
"Programming Language :: Python :: 3.5",
Expand Down

0 comments on commit 8fe6bfd

Please sign in to comment.