forked from JoranHonig/python-tree-sitter-types
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 1.03 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
import pathlib
from setuptools import setup, find_packages
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
REQUIREMENTS = (HERE / "requirements.txt")
requirements = [x for x in map(str.strip, REQUIREMENTS.read_text().split("\n")) if x != ""]
setup(
name="tree-sitter-types",
version="0.0.1",
description="Generate typed Python bindings for tree-sitter parsers",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/joranhonig/python-tree-sitter-types",
author="Joran Honig",
author_email="[email protected]",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
],
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
entry_points={
"console_scripts": [
"python-tree-sitter-types=tree_sitter_types.cli:generate_types",
]
},
)