-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (33 loc) · 1.18 KB
/
setup.py
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
import pathlib
import pkg_resources
from setuptools import setup, find_packages
from abraia import __version__
with open('README.md') as f:
long_description = f.read()
with pathlib.Path('requirements.txt').open() as requirements_txt:
install_requires = [str(requirement) for requirement
in pkg_resources.parse_requirements(requirements_txt)]
extras_require = {
'multiple': ['spectral>=0.23.1', 'scipy>=1.14.1', 'tifffile>=2020.9.4'],
'dev': ['opencv-python>=4.7.0.72', 'scipy>=1.14.1']
}
setup(
name='abraia',
version=__version__,
description='Abraia Python SDK',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/abraia/abraia-multiple',
author='Jorge Rodriguez Araujo',
author_email='jorge@abraiasoftware.com',
license='MIT',
zip_safe=False,
packages=find_packages(exclude=['tests']),
package_data={'': ['*.jpg']},
include_package_data=True,
tests_require=['pytest'],
setup_requires=['setuptools>=38.6.0', 'pytest-runner'],
scripts=['scripts/abraia', 'scripts/abraia.bat'],
install_requires=install_requires,
extras_require=extras_require
)