-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
49 lines (41 loc) · 1.61 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
40
41
42
43
44
45
46
47
48
49
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open
import os
# Get the long description from the README file
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(here, 'README.md'), 'r') as f:
long_description = f.read()
# Get the relevant setup parameters from the package
parameters = {}
with open(os.path.join(here, 'sarpy_apps', '__about__.py'), 'r') as f:
exec(f.read(), parameters)
setup(name=parameters['__title__'],
version=parameters['__version__'],
description=parameters['__summary__'],
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(exclude=('*tests*', '*examples*')),
url=parameters['__url__'],
author=parameters['__author__'],
author_email=parameters['__email__'], # The primary POC
install_requires=[
'numpy', 'matplotlib', 'Pillow', 'plotly', 'sarpy>=1.3.46', 'tk_builder>=1.1.12'],
zip_safe=True,
test_suite="tests",
tests_require=[],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
platforms=['any'],
license='MIT'
)