Skip to content

Commit

Permalink
cleanup setup.py (flake8)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jan 28, 2021
1 parent 62a6cb3 commit cfd266a
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

sys.path.insert(0, realpath(dirname(__file__))+"/"+name)
try:
from _version import version # @UnresolvedImport
except:
from _version import version # noqa: F821
except BaseException:
version = "unknown"


Expand All @@ -38,36 +38,38 @@
"scikit-learn>=0.23.0", # rating tests
"scipy",
],
ext_modules = [Extension("nanite.model.model_sneddon_spherical",
sources=["nanite/model/model_sneddon_spherical.pyx"],
include_dirs=[np.get_include()],
)
],
ext_modules=[Extension("nanite.model.model_sneddon_spherical",
sources=[
"nanite/model/model_sneddon_spherical.pyx"],
include_dirs=[np.get_include()],
)
],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
extras_require = {
extras_require={
'CLI': ["appdirs",
"matplotlib>=2.2.2",
"tifffile>=0.15.0",
],
},
},
python_requires='>=3.6, <4',
entry_points={
"console_scripts": [
"nanite-setup-profile = nanite.cli:setup_profile [CLI]",
"nanite-rate = nanite.cli:rate [CLI]",
"nanite-fit = nanite.cli:fit [CLI]",
"nanite-generate-training-set = nanite.cli:generate_training_set [CLI]",
],
},
"console_scripts": [
"nanite-setup-profile = nanite.cli:setup_profile [CLI]",
"nanite-rate = nanite.cli:rate [CLI]",
"nanite-fit = nanite.cli:fit [CLI]",
"nanite-generate-training-set = nanite.cli:generate_training_set"
+ " [CLI]",
],
},
keywords=["atomic force microscopy",
"mechanical phenotyping",
"tissue analysis"],
classifiers= [
classifiers=[
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Visualization',
'Intended Audience :: Science/Research'
],
],
platforms=['ALL'],
)
)

0 comments on commit cfd266a

Please sign in to comment.