-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
63 lines (55 loc) · 1.91 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open('radie/__init__.py') as fid:
version_found = False
for line in fid:
if line.startswith('__version__'):
version = line.split('=')[1].strip().replace("'", "")
version_found = True
break
if not version_found:
raise Exception('version string not found in __init__.py')
setup(
name='radie',
version=version,
description='a python application to rapidly import and view experimental data',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://www.github.com/dvincentwest/radie',
# Author details
author='D. Vincent West',
author_email='dvincentwest@gmail.com',
# Choose your license
license='GPLv2',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Visualization',
],
keywords='data visualization',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
python_requires='>=3.5',
install_requires=[
'numpy',
'pandas',
# 'PyQt5' # left out because of naming conflicts with conda
'pyqtgraph',
],
extras_require={},
package_data={
'radie.plugins.examples': ['data/*'],
'radie.qt': ['resources/icons/*.svg'],
'radie.plugins.visualizations': ['icons/*.svg'],
},
data_files=[],
entry_points={},
)