-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 837 Bytes
/
setup.py
File metadata and controls
28 lines (24 loc) · 837 Bytes
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
import re
from setuptools import find_packages, setup
with open("requirements.txt") as f:
requirements = f.read().splitlines()
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
long_description = re.sub(r"\n!\[.*\]\(.*\)", "", long_description)
setup(
name="grep-ast",
version="0.8.1",
description="A tool to grep through the AST of a source file",
url="https://github.com/paul-gauthier/grep-ast",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=requirements,
entry_points={
"console_scripts": [
"grep-ast=grep_ast.main:main",
"gast=grep_ast.main:main",
],
},
classifiers=["License :: OSI Approved :: Apache Software License"],
)