-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
101 lines (86 loc) · 2.98 KB
/
setup.py
File metadata and controls
101 lines (86 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import os
from setuptools import setup, find_packages
_thisPath = os.path.abspath(os.path.dirname(__file__))
with open(os.path.abspath(_thisPath+"/README.md")) as f:
long_description = f.read()
install_requires = [
'numpy',
'pandas',
'shapely',
'geopandas',
'scikit-image',
'zarr',
'async-lru',
'asyncio',
'imagecodecs', # required for compression
'platformdirs', # to get platform specific App paths
'plotly', # needed for colors
"dataclasses-json",
'brightest-path-lib',
'pooch', # to load data from MapManagerCore-Data repo
# 'bioio', # TODO: use to load metadata and lazy load images
]
testRequirements = [
'tox',
'pytest',
'pytest-cov',
'flake8',
'nbformat',
'matplotlib',
]
devRequirements = [
'jupyter',
'ipykernel', # sometimes required by vs code to run jupyter notebooks
'matplotlib',
]
foundPackages = find_packages(include=['mapmanagercore', 'mapmanagercore.*'])
setup(
# the package name (on PyPi), still use 'import mapmanagercore'
name='mapmanagercore',
# version=VERSION,
description='MapManagerCore is a Python library that provides the core functionality for MapManager.',
long_description=long_description,
long_description_content_type='text/markdown',
# TODO: assign to url of mapmanagercore
# url='http://github.com/cudmore/SanPy',
# how do we specify multiple authors?
author='Robert H Cudmore',
author_email='robert.cudmore@gmail.com',
license='GNU General Public License, Version 3',
classifiers=[
'Programming Language :: Python :: 3',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: End Users/Desktop',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Libraries :: Application Frameworks',
],
# this is criptic and not well documented
# but critical to automatically import all sub-modules (folders)
# package_dir={"" : "mapmanagercore"},
packages=foundPackages,
include_package_data=True, # uses manifest.in
use_scm_version=True,
setup_requires=['setuptools_scm'],
install_requires=install_requires,
extras_require={
'dev': devRequirements,
'tests': testRequirements,
},
python_requires=">=3.11",
# we do not have an entry point
# if we did, it would look like this
# entry_points={
# 'console_scripts': [
# 'sanpy=sanpy.interface.sanpy_app:main',
# ]
# },
)