Skip to content

Commit

Permalink
chore: drop pbr
Browse files Browse the repository at this point in the history
pbr keeps causing problems when building linux wheels
  • Loading branch information
william-silversmith committed Oct 16, 2020
1 parent 8575a61 commit b390a9a
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 35 deletions.
15 changes: 15 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
CHANGES
=======

2.0.2
-----

* test: faster execution for cube and solid color tests
* fix(trace): skip adding DAF if max is 0
* test: check extremely sparse images (one or two voxels with no dust threshold)
* chore: drop py35 testing add .dockerignore

2.0.1
-----

* fix(windows): use np.uintp before casting to size\_t
* fix: appveyor needs numpy installed first
* chore: new build system for binary distribution

2.0.0
-----

Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
recursive-include ext
recursive-include ext *
include LICENSE
31 changes: 0 additions & 31 deletions setup.cfg

This file was deleted.

38 changes: 35 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@

import numpy as np

def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), 'rt') as f:
return f.read()

def requirements():
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt'), 'rt') as f:
return f.readlines()

# NOTE: If skeletontricks.cpp does not exist, you must run
# cython -3 --cplus ./ext/skeletontricks/skeletontricks.pyx

setuptools.setup(
setup_requires=['pbr', 'numpy'],
name="kimimaro",
version="2.0.2",
setup_requires=["numpy"],
python_requires="~=3.6", # >= 3.6 < 4.0
ext_modules=[
setuptools.Extension(
Expand All @@ -21,7 +31,29 @@
]
),
],
long_description_content_type='text/markdown',
pbr=True,
author="William Silversmith, Alex Bae, Forrest Collman",
author_email="[email protected]",
packages=setuptools.find_packages(),
description="Skeletonize densely labeled image volumes.",
long_description=read('README.md'),
long_description_content_type="text/markdown",
license = "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
keywords = "connected-components CCL volumetric-data numpy connectomics image-processing biomedical-image-processing decision-tree union-find sauf bbdt 2d 3d",
url = "https://github.com/seung-lab/kimimaro/",
classifiers=[
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows :: Windows 10",
],
)

0 comments on commit b390a9a

Please sign in to comment.