forked from seung-lab/kimimaro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pbr keeps causing problems when building linux wheels
- Loading branch information
1 parent
8575a61
commit b390a9a
Showing
4 changed files
with
51 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
recursive-include ext | ||
recursive-include ext * | ||
include LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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( | ||
|
@@ -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", | ||
], | ||
) | ||
|