-
Notifications
You must be signed in to change notification settings - Fork 43
/
setup.py
33 lines (32 loc) · 1.59 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
# -*- coding: utf-8 -*-
"""
Documentation is hosted at http://pymiescatt.readthedocs.io/en/latest/index.html
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)