forked from pklaus/python-colorscale
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (46 loc) · 1.54 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (46 loc) · 1.54 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
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import pypandoc
LDESC = open('README.md', 'r').read()
LDESC = pypandoc.convert(LDESC, 'rst', format='md')
except (ImportError, IOError, RuntimeError) as e:
print("Could not create long description:")
print(str(e))
LDESC = ''
setup(name='colorscale',
version = '0.8.dev0',
description = 'Python package to convert images from grayscale to false color and back',
long_description = LDESC,
author = 'Philipp Klaus',
author_email = 'philipp.l.klaus@web.de',
url = 'https://github.com/pklaus/python_colorscale',
license = 'GPL',
packages = ['colorscale'],
entry_points = {
'console_scripts': [
'to_color_scale = colorscale.to_color_scale:main',
'to_gray_scale = colorscale.to_gray_scale:main',
],
},
include_package_data = False,
zip_safe = True,
platforms = 'any',
install_requires = [
"pillow>=3.3.0",
"opencv-python",
"numpy",
],
keywords = 'False color colorscale colormap color map',
classifiers = [
'Development Status :: 4 - Beta',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Visualization',
]
)