forked from bsumlin/PyMieScatt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (43 loc) · 1.88 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017-2018, Benjamin Sumlin
# Distributed under the MIT License. See LICENSE.md for more info.
"""
Documentation is hosted at https://pymiescatt.readthedocs.io
PyMieScatt - the Python Mie Scattering Package
Written by Benjamin Sumlin, Washington University in St. Louis
Aerosol Impacts and Research Laboratory
Department of Energy, Environmental, and Chemical Engineering
Special thanks to Dr. Rajan Chakrabarty, Dr. William Heinson,
Claire Fortenberry, and Apoorva Pandey
"""
from setuptools import setup
import re
VERSIONFILE = "PyMieScatt/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(name='PyMieScatt',
version=verstr,
description="A collection of forward and inverse Mie solving routines "
"based on Bohren and Huffman's Mie Theory derivations.",
long_description=verstr + ' - See `documentation '
'<http://pymiescatt.readthedocs.io/>`_ '
'for update notes.',
url='http://air.eece.wustl.edu/people/ben-sumlin/',
author='Benjamin Sumlin',
author_email='[email protected]',
license='MIT',
packages=['PyMieScatt'],
keywords=['Mie Rayleigh scattering absorption extinction light '
'refraction'],
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering :: Physics'],
install_requires=['numpy', 'scipy', 'matplotlib', 'shapely'],
zip_safe=False)