experimental/setup.py (33 lines of code) (raw):
# Copyright (c) 2023 Uber Technologies, Inc.
#
# <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of the License at
# <p>http://www.apache.org/licenses/LICENSE-2.0
#
# <p>Unless required by applicable law or agreed to in writing, software distributed under the
# License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied. See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import find_packages, setup
setup(
name="polyglot-piranha-playground",
version="0.0.3",
description="A playground for Piranha",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/uber/piranha",
packages=find_packages(),
include_package_data=True,
install_requires=[
"tree-sitter==0.20.1",
"tree-sitter-languages",
"attrs",
"openai",
"polyglot-piranha",
"toml",
"pytest",
"flask",
"flask-socketio",
"comby",
"eventlet",
],
entry_points={
"console_scripts": ["piranha-playground = piranha_playground.main:main"]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
)