Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123463
setup.py
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
setup.py
View Options
"""
Py-Tree-sitter
"""
from
os
import
path
from
platform
import
system
from
setuptools
import
Extension
,
setup
with
open
(
path
.
join
(
path
.
dirname
(
__file__
),
"README.md"
))
as
f
:
LONG_DESCRIPTION
=
f
.
read
()
setup
(
name
=
"tree_sitter"
,
version
=
"0.19.0"
,
maintainer
=
"Max Brunsfeld"
,
maintainer_email
=
"maxbrunsfeld@gmail.com"
,
author
=
"Max Brunsfeld"
,
author_email
=
"maxbrunsfeld@gmail.com"
,
url
=
"https://github.com/tree-sitter/py-tree-sitter"
,
license
=
"MIT"
,
platforms
=
[
"any"
],
python_requires
=
">=3.3"
,
description
=
"Python bindings to the Tree-sitter parsing library"
,
long_description
=
LONG_DESCRIPTION
,
long_description_content_type
=
"text/markdown"
,
classifiers
=
[
"License :: OSI Approved :: MIT License"
,
"Topic :: Software Development :: Compilers"
,
"Topic :: Text Processing :: Linguistic"
,
],
packages
=
[
"tree_sitter"
],
ext_modules
=
[
Extension
(
"tree_sitter.binding"
,
[
"tree_sitter/core/lib/src/lib.c"
,
"tree_sitter/binding.c"
],
include_dirs
=
[
"tree_sitter/core/lib/include"
,
"tree_sitter/core/lib/src"
],
extra_compile_args
=
(
[
"-std=c99"
,
"-Wno-unused-variable"
]
if
system
()
!=
"Windows"
else
None
),
)
],
project_urls
=
{
"Source"
:
"https://github.com/tree-sitter/py-tree-sitter"
},
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 5:31 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238020
Attached To
rPTS python3-tree-sitter
Event Timeline
Log In to Comment