-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (57 loc) · 2.09 KB
/
Copy pathsetup.py
File metadata and controls
60 lines (57 loc) · 2.09 KB
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
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="dan@excitonlabs.com",
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.10",
packages=find_packages(),
package_data={
"pvtrace": ["data/schema.sql", "cli/pvtrace-schema-scene-spec.json"]
},
keywords=["optics", "raytracing", "photovoltaics", "energy"],
install_requires=[
"numpy",
"pandas",
"anytree",
"meshcat>=0.1.1",
"trimesh[easy]",
"typer",
"pyyaml",
"jsonschema",
"scipy",
"termplotlib",
],
extras_require={
"studio": ["fastapi", "uvicorn", "websockets", "ruamel.yaml"],
"engine": ["cython", "setuptools"],
},
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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
)