forked from danieljfarrell/pvtrace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (40 loc) · 1.74 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
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/{}.tar.gz".format(
__version__
),
entry_points={"console_scripts": ["pvtrace-cli=pvtrace.cli.main:main"]},
python_requires=">=3.7.2",
packages=find_packages(),
package_data={"": ["*.json", "schema.sql"]},
include_package_data=True,
keywords=["optics", "raytracing", "photovoltaics", "energy"],
install_requires=["numpy", "pandas", "anytree", "meshcat>=0.1.1", "trimesh[easy]"],
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",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)