forked from danieljfarrell/pvtrace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (48 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open('pvtrace/__init__.py', 'r') as fp:
# binds local __version__ to the line that look like "__version__ = '2.1.3'"
exec(next(line for line in fp if '__version__' in line))
setup(
name='pvtrace',
version=__version__,
description='Optical ray tracing for luminescent materials and spectral converter photovoltaic devices.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Daniel Farrell',
author_email='[email protected]',
url='https://github.com/danieljfarrell/pvtrace',
download_url = 'https://github.com/danieljfarrell/pvtrace/archive/v2.1.2.tar.gz',
python_requires='>=3.7.2',
packages=find_packages(),
keywords=[
"optics",
"simulation",
"ray tracing",
"photovoltaics",
"solar",
"energy",
"nonimaging",
"luminescence",
"spectroscopy"
],
install_requires=[
"numpy",
"anytree",
"trimesh[easy]",
"meshcat>=0.0.16"
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Visualization',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.7'
]
)