-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
45 lines (39 loc) · 3.58 KB
/
pyproject.toml
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
[project]
name = "pyprt"
authors = [{ "name" = "Esri R&D Center Zurich" }]
dynamic = ["version"]
requires-python = ">=3.8"
description = "Python bindings for the 'Procedural Runtime' (PRT) of CityEngine by Esri."
readme = { text = "PyPRT provides a Python binding for PRT (Procedural RunTime) of CityEngine. This enables the execution of [CityEngine](https://www.esri.com/software/cityengine) CGA rules within Python. Using PyPRT, the generation of 3D content in Python is greatly simplified. Therefore, Python developers, data scientists, GIS analysts, etc. can efficiently make use of CityEngine rule packages in order to create 3D geometries stored as Python data structures, or to export these geometries in another format (like OBJ, Scene Layer Package, ... ). Given an initial geometry, on which to apply the CGA rule, the 3D generation is procedurally done in Python (Python script, Jupyter Notebook, ...). This allows for efficient and customizable geometry generation. For instance, when modeling buildings, PyPRT users can easily change the parameters of the generated buildings (like the height or the shape) by changing the values of the CGA rule input attributes. PyPRT 3D content generation is based on CGA rule packages (RPK), which are authored in CityEngine. RPKs contain the CGA rule files that define the shape transformations, as well as supplementary assets. RPK examples can be found below and directly used in PyPRT. PyPRT allows generating 3D models on multiple initial geometries. Different input attributes can be applied on each of these initial shapes. Moreover, the outputted 3D geometries can either be used inside Python or exported to another format by using one of PRT encoders.", content-type = "text/markdown" }
license = { text = "PyPRT is free for personal, educational, and non-commercial use. Commercial use requires at least one commercial license of the latest CityEngine version installed in the organization. Redistribution or web service offerings are not allowed unless expressly permitted. PyPRT is under the same license as the included [CityEngine SDK](https://github.com/Esri/esri-cityengine-sdk#licensing). An exception is the PyPRT source code (without CityEngine SDK, binaries, or object code), which is licensed under the Apache License, Version 2.0 (the 'License'); you may not use this work except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0" }
classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: Free for non-commercial use',
'License :: OSI Approved :: Apache Software License',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: C++',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Multimedia :: Graphics :: 3D Modeling',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries :: Python Modules'
]
[project.urls]
Source-Code = "https://github.com/Esri/pyprt"
Download = "https://github.com/Esri/pyprt/releases"
Documentation = "https://github.com/Esri/pyprt/blob/master/README.md#documentation"
Examples = "https://github.com/Esri/pyprt-examples"
[build-system]
requires = ["setuptools>=61", "sphinx", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = false
package-dir = {"" = "src/python", "pyprt.bin" = "src/cpp"}
platforms = ["Windows", "Linux"]
[tool.setuptools.packages.find]
where = ["src/python"]
[tool.setuptools.package-data]
"cpp" = ["**/*.*"]
[tool.setuptools.dynamic]
version = {file = ["VERSION"]}